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 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/base/flags.h" | 10 #include "src/base/flags.h" |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 // Jump to label if the value is a tagged smi. | 544 // Jump to label if the value is a tagged smi. |
545 void JumpIfSmi(Register src, | 545 void JumpIfSmi(Register src, |
546 Label* on_smi, | 546 Label* on_smi, |
547 Label::Distance near_jump = Label::kFar); | 547 Label::Distance near_jump = Label::kFar); |
548 | 548 |
549 // Jump to label if the value is not a tagged smi. | 549 // Jump to label if the value is not a tagged smi. |
550 void JumpIfNotSmi(Register src, | 550 void JumpIfNotSmi(Register src, |
551 Label* on_not_smi, | 551 Label* on_not_smi, |
552 Label::Distance near_jump = Label::kFar); | 552 Label::Distance near_jump = Label::kFar); |
553 | 553 |
| 554 // Jump to label if the value is not a tagged smi. |
| 555 void JumpIfNotSmi(Operand src, Label* on_not_smi, |
| 556 Label::Distance near_jump = Label::kFar); |
| 557 |
554 // Jump to label if the value is not a non-negative tagged smi. | 558 // Jump to label if the value is not a non-negative tagged smi. |
555 void JumpUnlessNonNegativeSmi(Register src, | 559 void JumpUnlessNonNegativeSmi(Register src, |
556 Label* on_not_smi, | 560 Label* on_not_smi, |
557 Label::Distance near_jump = Label::kFar); | 561 Label::Distance near_jump = Label::kFar); |
558 | 562 |
559 // Jump to label if the value, which must be a tagged smi, has value equal | 563 // Jump to label if the value, which must be a tagged smi, has value equal |
560 // to the constant. | 564 // to the constant. |
561 void JumpIfSmiEqualsConstant(Register src, | 565 void JumpIfSmiEqualsConstant(Register src, |
562 Smi* constant, | 566 Smi* constant, |
563 Label* on_equals, | 567 Label* on_equals, |
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1683 inline Operand StackOperandForReturnAddress(int32_t disp) { | 1687 inline Operand StackOperandForReturnAddress(int32_t disp) { |
1684 return Operand(rsp, disp); | 1688 return Operand(rsp, disp); |
1685 } | 1689 } |
1686 | 1690 |
1687 #define ACCESS_MASM(masm) masm-> | 1691 #define ACCESS_MASM(masm) masm-> |
1688 | 1692 |
1689 } // namespace internal | 1693 } // namespace internal |
1690 } // namespace v8 | 1694 } // namespace v8 |
1691 | 1695 |
1692 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1696 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |