Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: test/mjsunit/constant-fold-control-instructions.js

Issue 1313903003: [runtime] Remove the redundant %_IsObject intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Michis comment. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/compiler/test-run-jscalls.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/constant-fold-control-instructions.js
diff --git a/test/mjsunit/constant-fold-control-instructions.js b/test/mjsunit/constant-fold-control-instructions.js
index eb1b0f3c0b70cdc2139c0d59d073b7e1b346342e..a6f5540cfd6dbc92eebf769049d1033a6c3a6e21 100644
--- a/test/mjsunit/constant-fold-control-instructions.js
+++ b/test/mjsunit/constant-fold-control-instructions.js
@@ -12,12 +12,7 @@ function test() {
assertEquals("function", typeof function() {});
assertEquals("object", typeof null);
assertEquals("object", typeof {});
-
- assertTrue(%_IsObject({}));
- assertTrue(%_IsObject(null));
- assertTrue(%_IsObject(/regex/));
- assertFalse(%_IsObject(0));
- assertFalse(%_IsObject(""));
+ assertEquals("object", typeof /regex/);
assertTrue(%_IsSmi(1));
assertFalse(%_IsSmi(1.1));
« no previous file with comments | « test/cctest/compiler/test-run-jscalls.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698