Index: test/cctest/test-assembler-ia32.cc |
=================================================================== |
--- test/cctest/test-assembler-ia32.cc (revision 1355) |
+++ test/cctest/test-assembler-ia32.cc (working copy) |
@@ -69,7 +69,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
- Object* code = Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB)); |
+ Object* code = Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value())); |
CHECK(code->IsCode()); |
#ifdef DEBUG |
Code::cast(code)->Print(); |
@@ -104,7 +107,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
- Object* code = Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB)); |
+ Object* code = Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value())); |
CHECK(code->IsCode()); |
#ifdef DEBUG |
Code::cast(code)->Print(); |
@@ -143,7 +149,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
- Object* code = Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB)); |
+ Object* code = Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value())); |
CHECK(code->IsCode()); |
#ifdef DEBUG |
Code::cast(code)->Print(); |
@@ -175,7 +184,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
Code* code = |
- Code::cast(Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB))); |
+ Code::cast(Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value()))); |
// don't print the code - our disassembler can't handle cvttss2si |
// instead print bytes |
Disassembler::Dump(stdout, |
@@ -207,7 +219,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
Code* code = |
- Code::cast(Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB))); |
+ Code::cast(Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value()))); |
// don't print the code - our disassembler can't handle cvttsd2si |
// instead print bytes |
Disassembler::Dump(stdout, |
@@ -234,7 +249,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
Code* code = |
- Code::cast(Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB))); |
+ Code::cast(Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value()))); |
F0 f = FUNCTION_CAST<F0>(code->entry()); |
int res = f(); |
CHECK_EQ(42, res); |
@@ -269,7 +287,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
Code* code = |
- Code::cast(Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB))); |
+ Code::cast(Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value()))); |
#ifdef DEBUG |
::printf("\n---\n"); |
// don't print the code - our disassembler can't handle SSE instructions |
@@ -307,7 +328,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
Code* code = |
- Code::cast(Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB))); |
+ Code::cast(Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value()))); |
CHECK(code->IsCode()); |
#ifdef DEBUG |
Code::cast(code)->Print(); |
@@ -360,7 +384,10 @@ |
CodeDesc desc; |
assm.GetCode(&desc); |
Code* code = |
- Code::cast(Heap::CreateCode(desc, NULL, Code::ComputeFlags(Code::STUB))); |
+ Code::cast(Heap::CreateCode(desc, |
+ NULL, |
+ Code::ComputeFlags(Code::STUB), |
+ Handle<Object>(Heap::undefined_value()))); |
CHECK(code->IsCode()); |
#ifdef DEBUG |
Code::cast(code)->Print(); |