Index: test/cctest/interpreter/test-interpreter-intrinsics.cc |
diff --git a/test/cctest/interpreter/test-interpreter-intrinsics.cc b/test/cctest/interpreter/test-interpreter-intrinsics.cc |
index 70051253cca22fc04d4752559da6bfe25bae8ae3..e2cd675b746466ad995569c1bb61b3fd669a1602 100644 |
--- a/test/cctest/interpreter/test-interpreter-intrinsics.cc |
+++ b/test/cctest/interpreter/test-interpreter-intrinsics.cc |
@@ -225,27 +225,6 @@ TEST(IntrinsicAsStubCall) { |
->SameValue(*sub_string_helper.NewObject("'bar'"))); |
} |
-TEST(ValueOf) { |
- HandleAndZoneScope handles; |
- Isolate* isolate = handles.main_isolate(); |
- Factory* factory = isolate->factory(); |
- InvokeIntrinsicHelper helper(handles.main_isolate(), handles.main_zone(), |
- Runtime::kInlineValueOf); |
- |
- CHECK_EQ(Smi::FromInt(1234), *helper.Invoke(helper.NewObject("1234"))); |
- CHECK_EQ(Smi::FromInt(5678), |
- *helper.Invoke(helper.NewObject("new Object(5678)"))); |
- |
- CHECK_EQ(*factory->true_value(), *helper.Invoke(helper.NewObject("true"))); |
- CHECK_EQ(*factory->false_value(), |
- *helper.Invoke(helper.NewObject("new Object(false)"))); |
- |
- CHECK(helper.Invoke(helper.NewObject("'foobar'")) |
- ->SameValue(*helper.NewObject("'foobar'"))); |
- CHECK(helper.Invoke(helper.NewObject("new Object('foobar')")) |
- ->SameValue(*helper.NewObject("'foobar'"))); |
-} |
- |
TEST(ClassOf) { |
HandleAndZoneScope handles; |
Isolate* isolate = handles.main_isolate(); |