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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 | 724 |
725 // Machine code version of Map::GetConstructor(). | 725 // Machine code version of Map::GetConstructor(). |
726 // |temp| holds |result|'s map when done. | 726 // |temp| holds |result|'s map when done. |
727 void GetMapConstructor(Register result, Register map, Register temp); | 727 void GetMapConstructor(Register result, Register map, Register temp); |
728 | 728 |
729 // Try to get function prototype of a function and puts the value in | 729 // Try to get function prototype of a function and puts the value in |
730 // the result register. Checks that the function really is a | 730 // the result register. Checks that the function really is a |
731 // function and jumps to the miss label if the fast checks fail. The | 731 // function and jumps to the miss label if the fast checks fail. The |
732 // function register will be untouched; the other registers may be | 732 // function register will be untouched; the other registers may be |
733 // clobbered. | 733 // clobbered. |
734 void TryGetFunctionPrototype(Register function, | 734 void TryGetFunctionPrototype(Register function, Register result, |
735 Register result, | 735 Register scratch, Label* miss); |
736 Register scratch, | |
737 Label* miss, | |
738 bool miss_on_bound_function = false); | |
739 | 736 |
740 // Picks out an array index from the hash field. | 737 // Picks out an array index from the hash field. |
741 // Register use: | 738 // Register use: |
742 // hash - holds the index's hash. Clobbered. | 739 // hash - holds the index's hash. Clobbered. |
743 // index - holds the overwritten index on exit. | 740 // index - holds the overwritten index on exit. |
744 void IndexFromHash(Register hash, Register index); | 741 void IndexFromHash(Register hash, Register index); |
745 | 742 |
746 // --------------------------------------------------------------------------- | 743 // --------------------------------------------------------------------------- |
747 // Runtime calls | 744 // Runtime calls |
748 | 745 |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1112 } \ | 1109 } \ |
1113 masm-> | 1110 masm-> |
1114 #else | 1111 #else |
1115 #define ACCESS_MASM(masm) masm-> | 1112 #define ACCESS_MASM(masm) masm-> |
1116 #endif | 1113 #endif |
1117 | 1114 |
1118 | 1115 |
1119 } } // namespace v8::internal | 1116 } } // namespace v8::internal |
1120 | 1117 |
1121 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1118 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |