| 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 "src/x64/assembler-x64.h" | 5 #include "src/x64/assembler-x64.h" |
| 6 | 6 |
| 7 #include <cstring> | 7 #include <cstring> |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_X64 | 9 #if V8_TARGET_ARCH_X64 |
| 10 | 10 |
| (...skipping 3432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3443 | 3443 |
| 3444 void Assembler::RecordComment(const char* msg, bool force) { | 3444 void Assembler::RecordComment(const char* msg, bool force) { |
| 3445 if (FLAG_code_comments || force) { | 3445 if (FLAG_code_comments || force) { |
| 3446 EnsureSpace ensure_space(this); | 3446 EnsureSpace ensure_space(this); |
| 3447 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); | 3447 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); |
| 3448 } | 3448 } |
| 3449 } | 3449 } |
| 3450 | 3450 |
| 3451 | 3451 |
| 3452 void Assembler::RecordDeoptReason(const int reason, const int raw_position) { | 3452 void Assembler::RecordDeoptReason(const int reason, const int raw_position) { |
| 3453 if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling()) { | 3453 if (FLAG_trace_deopt) { |
| 3454 EnsureSpace ensure_space(this); | 3454 EnsureSpace ensure_space(this); |
| 3455 RecordRelocInfo(RelocInfo::POSITION, raw_position); | 3455 RecordRelocInfo(RelocInfo::POSITION, raw_position); |
| 3456 RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); | 3456 RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); |
| 3457 } | 3457 } |
| 3458 } | 3458 } |
| 3459 | 3459 |
| 3460 | 3460 |
| 3461 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { | 3461 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { |
| 3462 // No out-of-line constant pool support. | 3462 // No out-of-line constant pool support. |
| 3463 DCHECK(!FLAG_enable_ool_constant_pool); | 3463 DCHECK(!FLAG_enable_ool_constant_pool); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 3487 | 3487 |
| 3488 | 3488 |
| 3489 bool RelocInfo::IsInConstantPool() { | 3489 bool RelocInfo::IsInConstantPool() { |
| 3490 return false; | 3490 return false; |
| 3491 } | 3491 } |
| 3492 | 3492 |
| 3493 | 3493 |
| 3494 } } // namespace v8::internal | 3494 } } // namespace v8::internal |
| 3495 | 3495 |
| 3496 #endif // V8_TARGET_ARCH_X64 | 3496 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |