Index: test/cctest/test-disasm-ia32.cc |
=================================================================== |
--- test/cctest/test-disasm-ia32.cc (revision 5696) |
+++ test/cctest/test-disasm-ia32.cc (working copy) |
@@ -438,9 +438,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
- Object* code = Heap::CreateCode(desc, |
- Code::ComputeFlags(Code::STUB), |
- Handle<Object>(Heap::undefined_value())); |
+ Object* code = Heap::CreateCode( |
+ desc, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value()))->ToObjectChecked(); |
CHECK(code->IsCode()); |
#ifdef DEBUG |
Code::cast(code)->Print(); |