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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 } | 514 } |
515 | 515 |
516 void LoadPowerOf2(XMMRegister dst, Register scratch, int power); | 516 void LoadPowerOf2(XMMRegister dst, Register scratch, int power); |
517 | 517 |
518 // Abort execution if argument is not a smi, enabled via --debug-code. | 518 // Abort execution if argument is not a smi, enabled via --debug-code. |
519 void AssertSmi(Register object); | 519 void AssertSmi(Register object); |
520 | 520 |
521 // Abort execution if argument is a smi, enabled via --debug-code. | 521 // Abort execution if argument is a smi, enabled via --debug-code. |
522 void AssertNotSmi(Register object); | 522 void AssertNotSmi(Register object); |
523 | 523 |
| 524 // Abort execution if argument is not a FixedArray, enabled via --debug-code. |
| 525 void AssertFixedArray(Register object); |
| 526 |
524 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 527 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
525 void AssertFunction(Register object); | 528 void AssertFunction(Register object); |
526 | 529 |
527 // Abort execution if argument is not a JSBoundFunction, | 530 // Abort execution if argument is not a JSBoundFunction, |
528 // enabled via --debug-code. | 531 // enabled via --debug-code. |
529 void AssertBoundFunction(Register object); | 532 void AssertBoundFunction(Register object); |
530 | 533 |
531 // Abort execution if argument is not a JSGeneratorObject, | 534 // Abort execution if argument is not a JSGeneratorObject, |
532 // enabled via --debug-code. | 535 // enabled via --debug-code. |
533 void AssertGeneratorObject(Register object, Register suspend_flags); | 536 void AssertGeneratorObject(Register object, Register suspend_flags); |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 inline Operand NativeContextOperand() { | 942 inline Operand NativeContextOperand() { |
940 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); | 943 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); |
941 } | 944 } |
942 | 945 |
943 #define ACCESS_MASM(masm) masm-> | 946 #define ACCESS_MASM(masm) masm-> |
944 | 947 |
945 } // namespace internal | 948 } // namespace internal |
946 } // namespace v8 | 949 } // namespace v8 |
947 | 950 |
948 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 951 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |