diff options
Diffstat (limited to 'deps/v8/src/lithium.cc')
-rw-r--r-- | deps/v8/src/lithium.cc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/deps/v8/src/lithium.cc b/deps/v8/src/lithium.cc index 539f4eefba..2993c9aa73 100644 --- a/deps/v8/src/lithium.cc +++ b/deps/v8/src/lithium.cc @@ -419,9 +419,8 @@ Representation LChunk::LookupLiteralRepresentation( LChunk* LChunk::NewChunk(HGraph* graph) { - NoHandleAllocation no_handles(graph->isolate()); - AssertNoAllocation no_gc; - + DisallowHandleAllocation no_handles; + DisallowHeapAllocation no_gc; int values = graph->GetMaximumValueID(); CompilationInfo* info = graph->info(); if (values > LUnallocated::kMaxVirtualRegisters) { @@ -455,10 +454,7 @@ Handle<Code> LChunk::Codegen() { MarkEmptyBlocks(); if (generator.GenerateCode()) { - if (FLAG_trace_codegen) { - PrintF("Crankshaft Compiler - "); - } - CodeGenerator::MakeCodePrologue(info()); + CodeGenerator::MakeCodePrologue(info(), "optimized"); Code::Flags flags = info()->flags(); Handle<Code> code = CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); |