Index: test/cctest/interpreter/test-interpreter.cc |
diff --git a/test/cctest/interpreter/test-interpreter.cc b/test/cctest/interpreter/test-interpreter.cc |
index d87f244318af3704fe3421e617976e7e4db33219..deeb0baafd978e3f175639af8ccc47575ab8af13 100644 |
--- a/test/cctest/interpreter/test-interpreter.cc |
+++ b/test/cctest/interpreter/test-interpreter.cc |
@@ -1289,25 +1289,3 @@ |
CHECK_EQ(return_value->BooleanValue(), expected_value); |
} |
} |
- |
- |
-TEST(InterpreterCallRuntime) { |
- HandleAndZoneScope handles; |
- |
- BytecodeArrayBuilder builder(handles.main_isolate(), handles.main_zone()); |
- builder.set_locals_count(2); |
- builder.set_parameter_count(1); |
- builder.LoadLiteral(Smi::FromInt(15)) |
- .StoreAccumulatorInRegister(Register(0)) |
- .LoadLiteral(Smi::FromInt(40)) |
- .StoreAccumulatorInRegister(Register(1)) |
- .CallRuntime(Runtime::kAdd, Register(0), 2) |
- .Return(); |
- Handle<BytecodeArray> bytecode_array = builder.ToBytecodeArray(); |
- |
- InterpreterTester tester(handles.main_isolate(), bytecode_array); |
- auto callable = tester.GetCallable<>(); |
- |
- Handle<Object> return_val = callable().ToHandleChecked(); |
- CHECK_EQ(Smi::cast(*return_val), Smi::FromInt(55)); |
-} |