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 #ifndef V8_ARM64_ASSEMBLER_ARM64_INL_H_ | 5 #ifndef V8_ARM64_ASSEMBLER_ARM64_INL_H_ |
6 #define V8_ARM64_ASSEMBLER_ARM64_INL_H_ | 6 #define V8_ARM64_ASSEMBLER_ARM64_INL_H_ |
7 | 7 |
8 #include "src/arm64/assembler-arm64.h" | 8 #include "src/arm64/assembler-arm64.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 return Operand(smi); | 450 return Operand(smi); |
451 } | 451 } |
452 | 452 |
453 | 453 |
454 MemOperand::MemOperand() | 454 MemOperand::MemOperand() |
455 : base_(NoReg), regoffset_(NoReg), offset_(0), addrmode_(Offset), | 455 : base_(NoReg), regoffset_(NoReg), offset_(0), addrmode_(Offset), |
456 shift_(NO_SHIFT), extend_(NO_EXTEND), shift_amount_(0) { | 456 shift_(NO_SHIFT), extend_(NO_EXTEND), shift_amount_(0) { |
457 } | 457 } |
458 | 458 |
459 | 459 |
460 MemOperand::MemOperand(Register base, ptrdiff_t offset, AddrMode addrmode) | 460 MemOperand::MemOperand(Register base, int64_t offset, AddrMode addrmode) |
461 : base_(base), regoffset_(NoReg), offset_(offset), addrmode_(addrmode), | 461 : base_(base), regoffset_(NoReg), offset_(offset), addrmode_(addrmode), |
462 shift_(NO_SHIFT), extend_(NO_EXTEND), shift_amount_(0) { | 462 shift_(NO_SHIFT), extend_(NO_EXTEND), shift_amount_(0) { |
463 DCHECK(base.Is64Bits() && !base.IsZero()); | 463 DCHECK(base.Is64Bits() && !base.IsZero()); |
464 } | 464 } |
465 | 465 |
466 | 466 |
467 MemOperand::MemOperand(Register base, | 467 MemOperand::MemOperand(Register base, |
468 Register regoffset, | 468 Register regoffset, |
469 Extend extend, | 469 Extend extend, |
470 unsigned shift_amount) | 470 unsigned shift_amount) |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1263 | 1263 |
1264 | 1264 |
1265 void Assembler::ClearRecordedAstId() { | 1265 void Assembler::ClearRecordedAstId() { |
1266 recorded_ast_id_ = TypeFeedbackId::None(); | 1266 recorded_ast_id_ = TypeFeedbackId::None(); |
1267 } | 1267 } |
1268 | 1268 |
1269 | 1269 |
1270 } } // namespace v8::internal | 1270 } } // namespace v8::internal |
1271 | 1271 |
1272 #endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_ | 1272 #endif // V8_ARM64_ASSEMBLER_ARM64_INL_H_ |
OLD | NEW |