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_IA32_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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/frames.h" | 10 #include "src/frames.h" |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 } else if (shift > kSmiTagSize) { | 538 } else if (shift > kSmiTagSize) { |
539 sar(reg, shift - kSmiTagSize); | 539 sar(reg, shift - kSmiTagSize); |
540 } | 540 } |
541 and_(reg, Immediate(mask)); | 541 and_(reg, Immediate(mask)); |
542 } | 542 } |
543 | 543 |
544 void LoadPowerOf2(XMMRegister dst, Register scratch, int power); | 544 void LoadPowerOf2(XMMRegister dst, Register scratch, int power); |
545 | 545 |
546 // Abort execution if argument is not a number, enabled via --debug-code. | 546 // Abort execution if argument is not a number, enabled via --debug-code. |
547 void AssertNumber(Register object); | 547 void AssertNumber(Register object); |
| 548 void AssertNotNumber(Register object); |
548 | 549 |
549 // Abort execution if argument is not a smi, enabled via --debug-code. | 550 // Abort execution if argument is not a smi, enabled via --debug-code. |
550 void AssertSmi(Register object); | 551 void AssertSmi(Register object); |
551 | 552 |
552 // Abort execution if argument is a smi, enabled via --debug-code. | 553 // Abort execution if argument is a smi, enabled via --debug-code. |
553 void AssertNotSmi(Register object); | 554 void AssertNotSmi(Register object); |
554 | 555 |
555 // Abort execution if argument is not a string, enabled via --debug-code. | 556 // Abort execution if argument is not a string, enabled via --debug-code. |
556 void AssertString(Register object); | 557 void AssertString(Register object); |
557 | 558 |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1046 } \ | 1047 } \ |
1047 masm-> | 1048 masm-> |
1048 #else | 1049 #else |
1049 #define ACCESS_MASM(masm) masm-> | 1050 #define ACCESS_MASM(masm) masm-> |
1050 #endif | 1051 #endif |
1051 | 1052 |
1052 } // namespace internal | 1053 } // namespace internal |
1053 } // namespace v8 | 1054 } // namespace v8 |
1054 | 1055 |
1055 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1056 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |