Index: test/cctest/test-disasm-x64.cc |
diff --git a/test/cctest/test-disasm-x64.cc b/test/cctest/test-disasm-x64.cc |
index c6332e249b187422ef734aae5787418febbf9548..fe7aab81187e5946fb8a0ccf306cf3bfe152bb58 100644 |
--- a/test/cctest/test-disasm-x64.cc |
+++ b/test/cctest/test-disasm-x64.cc |
@@ -417,7 +417,7 @@ TEST(DisasmX64) { |
Object* code = HEAP->CreateCode( |
desc, |
Code::ComputeFlags(Code::STUB), |
- Handle<Object>(HEAP->undefined_value()))->ToObjectChecked(); |
+ Handle<Code>())->ToObjectChecked(); |
CHECK(code->IsCode()); |
#ifdef OBJECT_PRINT |
Code::cast(code)->Print(); |