Index: test/cctest/test-disasm-x64.cc |
diff --git a/test/cctest/test-disasm-x64.cc b/test/cctest/test-disasm-x64.cc |
index c7d1efcbf7bd3e2ae0d1db33bdaff133c43fc6de..3eb51ffce93dce8f5e0c9f022de538101f5770e0 100644 |
--- a/test/cctest/test-disasm-x64.cc |
+++ b/test/cctest/test-disasm-x64.cc |
@@ -401,7 +401,7 @@ TEST(DisasmX64) { |
CodeDesc desc; |
assm.GetCode(&desc); |
- Object* code = HEAP->CreateCode( |
+ Object* code = CcTest::heap()->CreateCode( |
desc, |
Code::ComputeFlags(Code::STUB), |
Handle<Code>())->ToObjectChecked(); |