Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: test/cctest/test-assembler-ia32.cc

Issue 27133: - Pass the knowledge whether the old GC is compacting to the GC prologue and ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698