Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index c7625888b1103fc9640db86771534046d636f9f1..fb090a6fa6712749fa491f89520168474e0a95f1 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -4946,7 +4946,8 @@ TEST(NextCodeLinkIsWeak) { |
static Handle<Code> DummyOptimizedCode(Isolate* isolate) { |
i::byte buffer[i::Assembler::kMinimalBufferSize]; |
- MacroAssembler masm(isolate, buffer, sizeof(buffer)); |
+ MacroAssembler masm(isolate, buffer, sizeof(buffer), |
+ v8::internal::CodeObjectRequired::kYes); |
CodeDesc desc; |
masm.Push(isolate->factory()->undefined_value()); |
masm.Drop(1); |