Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 81a53addd77195143def8939c1bda649b0f5270e..22d2458ceb98f02b155c36e608a5add4c0a97b09 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -3947,7 +3947,8 @@ static Handle<Code> DummyOptimizedCode(Isolate* isolate) { |
i::byte buffer[i::Assembler::kMinimalBufferSize]; |
MacroAssembler masm(isolate, buffer, sizeof(buffer)); |
CodeDesc desc; |
- masm.Prologue(BUILD_FUNCTION_FRAME); |
+ masm.Push(isolate->factory()->undefined_value()); |
+ masm.Drop(1); |
masm.GetCode(&desc); |
Handle<Object> undefined(isolate->heap()->undefined_value(), isolate); |
Handle<Code> code = isolate->factory()->NewCode( |