| 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 #include "serialize.h" | 8 #include "serialize.h" |
| 9 | 9 |
| 10 #if V8_TARGET_ARCH_IA32 | 10 #if V8_TARGET_ARCH_IA32 |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); | 443 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); |
| 444 generator.FinishCode(code); | 444 generator.FinishCode(code); |
| 445 CommitDependencies(code); | 445 CommitDependencies(code); |
| 446 code->set_is_crankshafted(true); | 446 code->set_is_crankshafted(true); |
| 447 void* jit_handler_data = | 447 void* jit_handler_data = |
| 448 assembler.positions_recorder()->DetachJITHandlerData(); | 448 assembler.positions_recorder()->DetachJITHandlerData(); |
| 449 LOG_CODE_EVENT(info()->isolate(), | 449 LOG_CODE_EVENT(info()->isolate(), |
| 450 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); | 450 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); |
| 451 | 451 |
| 452 CodeGenerator::PrintCode(code, info()); | 452 CodeGenerator::PrintCode(code, info()); |
| 453 ASSERT(!(Serializer::enabled(info()->isolate()) && | 453 ASSERT(!(info()->isolate()->serializer_enabled() && |
| 454 info()->GetMustNotHaveEagerFrame() && | 454 info()->GetMustNotHaveEagerFrame() && |
| 455 generator.NeedsEagerFrame())); | 455 generator.NeedsEagerFrame())); |
| 456 return code; | 456 return code; |
| 457 } | 457 } |
| 458 assembler.AbortedCodeGeneration(); | 458 assembler.AbortedCodeGeneration(); |
| 459 return Handle<Code>::null(); | 459 return Handle<Code>::null(); |
| 460 } | 460 } |
| 461 | 461 |
| 462 | 462 |
| 463 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { | 463 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 | 618 |
| 619 | 619 |
| 620 LPhase::~LPhase() { | 620 LPhase::~LPhase() { |
| 621 if (ShouldProduceTraceOutput()) { | 621 if (ShouldProduceTraceOutput()) { |
| 622 isolate()->GetHTracer()->TraceLithium(name(), chunk_); | 622 isolate()->GetHTracer()->TraceLithium(name(), chunk_); |
| 623 } | 623 } |
| 624 } | 624 } |
| 625 | 625 |
| 626 | 626 |
| 627 } } // namespace v8::internal | 627 } } // namespace v8::internal |
| OLD | NEW |