Index: test/cctest/test-assembler-arm.cc |
=================================================================== |
--- test/cctest/test-assembler-arm.cc (revision 5696) |
+++ test/cctest/test-assembler-arm.cc (working copy) |
@@ -69,9 +69,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(); |
@@ -105,9 +106,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(); |
@@ -150,9 +152,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(); |
@@ -197,9 +200,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(); |
@@ -290,9 +294,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(); |
@@ -341,9 +346,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(); |
@@ -375,9 +381,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(); |