| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 | 6 |
| 7 #if V8_TARGET_ARCH_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 8 | 8 |
| 9 #include "x64/lithium-codegen-x64.h" | 9 #include "x64/lithium-codegen-x64.h" |
| 10 #include "code-stubs.h" | 10 #include "code-stubs.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 GenerateSafepointTable(); | 59 GenerateSafepointTable(); |
| 60 } | 60 } |
| 61 | 61 |
| 62 | 62 |
| 63 void LCodeGen::FinishCode(Handle<Code> code) { | 63 void LCodeGen::FinishCode(Handle<Code> code) { |
| 64 ASSERT(is_done()); | 64 ASSERT(is_done()); |
| 65 code->set_stack_slots(GetStackSlotCount()); | 65 code->set_stack_slots(GetStackSlotCount()); |
| 66 code->set_safepoint_table_offset(safepoints_.GetCodeOffset()); | 66 code->set_safepoint_table_offset(safepoints_.GetCodeOffset()); |
| 67 if (code->is_optimized_code()) RegisterWeakObjectsInOptimizedCode(code); | 67 if (code->is_optimized_code()) RegisterWeakObjectsInOptimizedCode(code); |
| 68 PopulateDeoptimizationData(code); | 68 PopulateDeoptimizationData(code); |
| 69 info()->CommitDependencies(code); | |
| 70 } | 69 } |
| 71 | 70 |
| 72 | 71 |
| 73 void LChunkBuilder::Abort(BailoutReason reason) { | 72 void LChunkBuilder::Abort(BailoutReason reason) { |
| 74 info()->set_bailout_reason(reason); | 73 info()->set_bailout_reason(reason); |
| 75 status_ = ABORTED; | 74 status_ = ABORTED; |
| 76 } | 75 } |
| 77 | 76 |
| 78 | 77 |
| 79 #ifdef _MSC_VER | 78 #ifdef _MSC_VER |
| (...skipping 5624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5704 __ bind(deferred->exit()); | 5703 __ bind(deferred->exit()); |
| 5705 __ bind(&done); | 5704 __ bind(&done); |
| 5706 } | 5705 } |
| 5707 | 5706 |
| 5708 | 5707 |
| 5709 #undef __ | 5708 #undef __ |
| 5710 | 5709 |
| 5711 } } // namespace v8::internal | 5710 } } // namespace v8::internal |
| 5712 | 5711 |
| 5713 #endif // V8_TARGET_ARCH_X64 | 5712 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |