Disable code aging due to bugs.
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/11361182 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
af7bfe0e27
commit
92c6fe5c91
@ -396,7 +396,7 @@ DEFINE_bool(flush_code, true,
|
||||
"flush code that we expect not to use again (during full gc)")
|
||||
DEFINE_bool(flush_code_incrementally, false,
|
||||
"flush code that we expect not to use again (incrementally)")
|
||||
DEFINE_bool(age_code, true,
|
||||
DEFINE_bool(age_code, false,
|
||||
"track un-executed functions to age code and flush only "
|
||||
"old code")
|
||||
DEFINE_bool(incremental_marking, true, "use incremental marking")
|
||||
|
@ -151,7 +151,8 @@ void FullCodeGenerator::Generate() {
|
||||
__ mov(Operand(esp, receiver_offset),
|
||||
Immediate(isolate()->factory()->undefined_value()));
|
||||
__ bind(&ok);
|
||||
ASSERT_EQ(kSizeOfFullCodegenStrictModePrologue, ok.pos() - start.pos());
|
||||
ASSERT(!FLAG_age_code ||
|
||||
(kSizeOfFullCodegenStrictModePrologue == ok.pos() - start.pos()));
|
||||
}
|
||||
|
||||
// Open a frame scope to indicate that there is a frame on the stack. The
|
||||
|
@ -150,7 +150,8 @@ bool LCodeGen::GeneratePrologue() {
|
||||
__ mov(Operand(esp, receiver_offset),
|
||||
Immediate(isolate()->factory()->undefined_value()));
|
||||
__ bind(&ok);
|
||||
ASSERT_EQ(kSizeOfOptimizedStrictModePrologue, ok.pos() - begin.pos());
|
||||
ASSERT(!FLAG_age_code ||
|
||||
(kSizeOfOptimizedStrictModePrologue == ok.pos() - begin.pos()));
|
||||
}
|
||||
|
||||
|
||||
@ -179,8 +180,9 @@ bool LCodeGen::GeneratePrologue() {
|
||||
__ j(not_zero, &align_loop, Label::kNear);
|
||||
__ mov(Operand(ebx, 0), Immediate(kAlignmentZapValue));
|
||||
__ bind(&do_not_pad);
|
||||
ASSERT_EQ(kSizeOfOptimizedAlignStackPrologue,
|
||||
do_not_pad.pos() - begin.pos());
|
||||
ASSERT(!FLAG_age_code ||
|
||||
(kSizeOfOptimizedAlignStackPrologue ==
|
||||
do_not_pad.pos() - begin.pos()));
|
||||
}
|
||||
|
||||
__ push(ebp); // Caller's frame pointer.
|
||||
|
@ -147,7 +147,8 @@ void FullCodeGenerator::Generate() {
|
||||
__ LoadRoot(kScratchRegister, Heap::kUndefinedValueRootIndex);
|
||||
__ movq(Operand(rsp, receiver_offset), kScratchRegister);
|
||||
__ bind(&ok);
|
||||
ASSERT_EQ(kSizeOfFullCodegenStrictModePrologue, ok.pos() - begin.pos());
|
||||
ASSERT(!FLAG_age_code ||
|
||||
(kSizeOfFullCodegenStrictModePrologue == ok.pos() - begin.pos()));
|
||||
}
|
||||
|
||||
// Open a frame scope to indicate that there is a frame on the stack. The
|
||||
|
@ -143,7 +143,8 @@ bool LCodeGen::GeneratePrologue() {
|
||||
__ LoadRoot(kScratchRegister, Heap::kUndefinedValueRootIndex);
|
||||
__ movq(Operand(rsp, receiver_offset), kScratchRegister);
|
||||
__ bind(&ok);
|
||||
ASSERT_EQ(kSizeOfOptimizedStrictModePrologue, ok.pos() - begin.pos());
|
||||
ASSERT(!FLAG_age_code ||
|
||||
(kSizeOfOptimizedStrictModePrologue == ok.pos() - begin.pos()));
|
||||
}
|
||||
|
||||
__ push(rbp); // Caller's frame pointer.
|
||||
|
Loading…
Reference in New Issue
Block a user