Temporarily allocate all function contexts in old space and
force the system to use the full compiler to momentarily get better test coverage. This change will be reverted once the unit tests have finished running. Review URL: http://codereview.chromium.org/552257 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3758 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ae4fd1e54f
commit
5e96a8ca4b
@ -145,7 +145,7 @@ DEFINE_int(min_preparse_length, 1024,
|
|||||||
"minimum length for automatic enable preparsing")
|
"minimum length for automatic enable preparsing")
|
||||||
DEFINE_bool(full_compiler, true, "enable dedicated backend for run-once code")
|
DEFINE_bool(full_compiler, true, "enable dedicated backend for run-once code")
|
||||||
DEFINE_bool(fast_compiler, false, "enable speculative optimizing backend")
|
DEFINE_bool(fast_compiler, false, "enable speculative optimizing backend")
|
||||||
DEFINE_bool(always_full_compiler, false,
|
DEFINE_bool(always_full_compiler, true,
|
||||||
"try to use the dedicated run-once backend for all code")
|
"try to use the dedicated run-once backend for all code")
|
||||||
DEFINE_bool(always_fast_compiler, false,
|
DEFINE_bool(always_fast_compiler, false,
|
||||||
"try to use the speculative optimizing backend for all code")
|
"try to use the speculative optimizing backend for all code")
|
||||||
|
@ -3013,7 +3013,7 @@ Object* Heap::AllocateGlobalContext() {
|
|||||||
|
|
||||||
Object* Heap::AllocateFunctionContext(int length, JSFunction* function) {
|
Object* Heap::AllocateFunctionContext(int length, JSFunction* function) {
|
||||||
ASSERT(length >= Context::MIN_CONTEXT_SLOTS);
|
ASSERT(length >= Context::MIN_CONTEXT_SLOTS);
|
||||||
Object* result = Heap::AllocateFixedArray(length);
|
Object* result = Heap::AllocateFixedArray(length, TENURED);
|
||||||
if (result->IsFailure()) return result;
|
if (result->IsFailure()) return result;
|
||||||
Context* context = reinterpret_cast<Context*>(result);
|
Context* context = reinterpret_cast<Context*>(result);
|
||||||
context->set_map(context_map());
|
context->set_map(context_map());
|
||||||
|
Loading…
Reference in New Issue
Block a user