OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 | 86 |
87 void LCodeGen::FinishCode(Handle<Code> code) { | 87 void LCodeGen::FinishCode(Handle<Code> code) { |
88 ASSERT(is_done()); | 88 ASSERT(is_done()); |
89 code->set_stack_slots(GetStackSlotCount()); | 89 code->set_stack_slots(GetStackSlotCount()); |
90 code->set_safepoint_table_offset(safepoints_.GetCodeOffset()); | 90 code->set_safepoint_table_offset(safepoints_.GetCodeOffset()); |
91 if (FLAG_weak_embedded_maps_in_optimized_code) { | 91 if (FLAG_weak_embedded_maps_in_optimized_code) { |
92 RegisterDependentCodeForEmbeddedMaps(code); | 92 RegisterDependentCodeForEmbeddedMaps(code); |
93 } | 93 } |
94 PopulateDeoptimizationData(code); | 94 PopulateDeoptimizationData(code); |
95 info()->CommitDependentMaps(code); | 95 info()->CommitDependencies(code); |
96 } | 96 } |
97 | 97 |
98 | 98 |
99 void LChunkBuilder::Abort(const char* reason) { | 99 void LChunkBuilder::Abort(const char* reason) { |
100 info()->set_bailout_reason(reason); | 100 info()->set_bailout_reason(reason); |
101 status_ = ABORTED; | 101 status_ = ABORTED; |
102 } | 102 } |
103 | 103 |
104 | 104 |
105 void LCodeGen::Comment(const char* format, ...) { | 105 void LCodeGen::Comment(const char* format, ...) { |
(...skipping 5555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5661 FixedArray::kHeaderSize - kPointerSize)); | 5661 FixedArray::kHeaderSize - kPointerSize)); |
5662 __ bind(&done); | 5662 __ bind(&done); |
5663 } | 5663 } |
5664 | 5664 |
5665 | 5665 |
5666 #undef __ | 5666 #undef __ |
5667 | 5667 |
5668 } } // namespace v8::internal | 5668 } } // namespace v8::internal |
5669 | 5669 |
5670 #endif // V8_TARGET_ARCH_X64 | 5670 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |