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

Unified Diff: test/cctest/compiler/test-run-intrinsics.cc

Issue 1532493002: [runtime] Remove two obsolete intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | « src/runtime/runtime-object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-run-intrinsics.cc
diff --git a/test/cctest/compiler/test-run-intrinsics.cc b/test/cctest/compiler/test-run-intrinsics.cc
index c536cd22ef079805f9b187a397e99445bb707bca..b2017114b43c046a1bd735f748fc64fe516e4c25 100644
--- a/test/cctest/compiler/test-run-intrinsics.cc
+++ b/test/cctest/compiler/test-run-intrinsics.cc
@@ -34,17 +34,6 @@ TEST(ClassOf) {
}
-TEST(HeapObjectGetMap) {
- FunctionTester T("(function(a) { return %_HeapObjectGetMap(a); })", flags);
-
- Factory* factory = T.main_isolate()->factory();
- T.CheckCall(factory->null_map(), T.null());
- T.CheckCall(factory->undefined_map(), T.undefined());
- T.CheckCall(factory->heap_number_map(), T.Val(3.1415));
- T.CheckCall(factory->symbol_map(), factory->NewSymbol());
-}
-
-
#define COUNTER_NAME "hurz"
static int* LookupCounter(const char* name) {
@@ -159,19 +148,6 @@ TEST(IsSmi) {
}
-TEST(MapGetInstanceType) {
- FunctionTester T(
- "(function(a) { return %_MapGetInstanceType(%_HeapObjectGetMap(a)); })",
- flags);
-
- Factory* factory = T.main_isolate()->factory();
- T.CheckCall(T.Val(ODDBALL_TYPE), T.null());
- T.CheckCall(T.Val(ODDBALL_TYPE), T.undefined());
- T.CheckCall(T.Val(HEAP_NUMBER_TYPE), T.Val(3.1415));
- T.CheckCall(T.Val(SYMBOL_TYPE), factory->NewSymbol());
-}
-
-
TEST(ObjectEquals) {
FunctionTester T("(function(a,b) { return %_ObjectEquals(a,b); })", flags);
CompileRun("var o = {}");
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698