OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "v8.h" | 5 #include "v8.h" |
6 #include "lithium.h" | 6 #include "lithium.h" |
7 #include "scopes.h" | 7 #include "scopes.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_IA32 | 9 #if V8_TARGET_ARCH_IA32 |
10 #include "ia32/lithium-ia32.h" | 10 #include "ia32/lithium-ia32.h" |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); | 442 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); |
443 generator.FinishCode(code); | 443 generator.FinishCode(code); |
444 CommitDependencies(code); | 444 CommitDependencies(code); |
445 code->set_is_crankshafted(true); | 445 code->set_is_crankshafted(true); |
446 void* jit_handler_data = | 446 void* jit_handler_data = |
447 assembler.positions_recorder()->DetachJITHandlerData(); | 447 assembler.positions_recorder()->DetachJITHandlerData(); |
448 LOG_CODE_EVENT(info()->isolate(), | 448 LOG_CODE_EVENT(info()->isolate(), |
449 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); | 449 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); |
450 | 450 |
451 CodeGenerator::PrintCode(code, info()); | 451 CodeGenerator::PrintCode(code, info()); |
452 ASSERT(!(info()->GetMustNotHaveEagerFrame() && | |
453 generator.NeedsEagerFrame())); | |
454 return code; | 452 return code; |
455 } | 453 } |
456 assembler.AbortedCodeGeneration(); | 454 assembler.AbortedCodeGeneration(); |
457 return Handle<Code>::null(); | 455 return Handle<Code>::null(); |
458 } | 456 } |
459 | 457 |
460 | 458 |
461 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { | 459 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { |
462 allocated_double_registers_ = allocated_registers; | 460 allocated_double_registers_ = allocated_registers; |
463 BitVector* doubles = allocated_double_registers(); | 461 BitVector* doubles = allocated_double_registers(); |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 | 614 |
617 | 615 |
618 LPhase::~LPhase() { | 616 LPhase::~LPhase() { |
619 if (ShouldProduceTraceOutput()) { | 617 if (ShouldProduceTraceOutput()) { |
620 isolate()->GetHTracer()->TraceLithium(name(), chunk_); | 618 isolate()->GetHTracer()->TraceLithium(name(), chunk_); |
621 } | 619 } |
622 } | 620 } |
623 | 621 |
624 | 622 |
625 } } // namespace v8::internal | 623 } } // namespace v8::internal |
OLD | NEW |