| 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 "assembler.h" | 8 #include "assembler.h" |
| 9 #include "frames.h" | 9 #include "frames.h" |
| 10 #include "v8globals.h" | 10 #include "v8globals.h" |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 // the result register. Checks that the function really is a | 695 // the result register. Checks that the function really is a |
| 696 // function and jumps to the miss label if the fast checks fail. The | 696 // function and jumps to the miss label if the fast checks fail. The |
| 697 // function register will be untouched; the other registers may be | 697 // function register will be untouched; the other registers may be |
| 698 // clobbered. | 698 // clobbered. |
| 699 void TryGetFunctionPrototype(Register function, | 699 void TryGetFunctionPrototype(Register function, |
| 700 Register result, | 700 Register result, |
| 701 Register scratch, | 701 Register scratch, |
| 702 Label* miss, | 702 Label* miss, |
| 703 bool miss_on_bound_function = false); | 703 bool miss_on_bound_function = false); |
| 704 | 704 |
| 705 // Generates code for reporting that an illegal operation has | |
| 706 // occurred. | |
| 707 void IllegalOperation(int num_arguments); | |
| 708 | |
| 709 // Picks out an array index from the hash field. | 705 // Picks out an array index from the hash field. |
| 710 // Register use: | 706 // Register use: |
| 711 // hash - holds the index's hash. Clobbered. | 707 // hash - holds the index's hash. Clobbered. |
| 712 // index - holds the overwritten index on exit. | 708 // index - holds the overwritten index on exit. |
| 713 void IndexFromHash(Register hash, Register index); | 709 void IndexFromHash(Register hash, Register index); |
| 714 | 710 |
| 715 // --------------------------------------------------------------------------- | 711 // --------------------------------------------------------------------------- |
| 716 // Runtime calls | 712 // Runtime calls |
| 717 | 713 |
| 718 // Call a code stub. Generate the code if necessary. | 714 // Call a code stub. Generate the code if necessary. |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 } \ | 1090 } \ |
| 1095 masm-> | 1091 masm-> |
| 1096 #else | 1092 #else |
| 1097 #define ACCESS_MASM(masm) masm-> | 1093 #define ACCESS_MASM(masm) masm-> |
| 1098 #endif | 1094 #endif |
| 1099 | 1095 |
| 1100 | 1096 |
| 1101 } } // namespace v8::internal | 1097 } } // namespace v8::internal |
| 1102 | 1098 |
| 1103 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1099 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |