Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
index 68d1f3ec134763387fcebceed07c755fc49141b0..acc7393a4f02b2324ef2359ed61d7725ad67ac45 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -94,10 +94,7 @@ |
.StoreKeyedProperty(reg, reg, 2056, LanguageMode::STRICT); |
// Emit closure operations. |
- Factory* factory = isolate()->factory(); |
- Handle<SharedFunctionInfo> shared_info = factory->NewSharedFunctionInfo( |
- factory->NewStringFromStaticChars("function_a"), MaybeHandle<Code>()); |
- builder.CreateClosure(shared_info, NOT_TENURED); |
+ builder.CreateClosure(NOT_TENURED); |
// Emit argument creation operations. |
builder.CreateArguments(CreateArgumentsType::kMappedArguments) |
@@ -217,11 +214,6 @@ |
builder.GetConstantPoolEntry(handle(Smi::FromInt(i), isolate())); |
} |
builder.LoadLiteral(Smi::FromInt(20000000)); |
- |
- // CreateClosureWide |
- Handle<SharedFunctionInfo> shared_info2 = factory->NewSharedFunctionInfo( |
- factory->NewStringFromStaticChars("function_b"), MaybeHandle<Code>()); |
- builder.CreateClosure(shared_info2, NOT_TENURED); |
builder.Return(); |