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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 | 689 |
690 // Machine code version of Map::GetConstructor(). | 690 // Machine code version of Map::GetConstructor(). |
691 // |temp| holds |result|'s map when done. | 691 // |temp| holds |result|'s map when done. |
692 void GetMapConstructor(Register result, Register map, Register temp); | 692 void GetMapConstructor(Register result, Register map, Register temp); |
693 | 693 |
694 // Try to get function prototype of a function and puts the value in | 694 // Try to get function prototype of a function and puts the value in |
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, Register result, |
700 Register result, | 700 Register scratch, Label* miss); |
701 Register scratch, | |
702 Label* miss, | |
703 bool miss_on_bound_function = false); | |
704 | 701 |
705 // Picks out an array index from the hash field. | 702 // Picks out an array index from the hash field. |
706 // Register use: | 703 // Register use: |
707 // hash - holds the index's hash. Clobbered. | 704 // hash - holds the index's hash. Clobbered. |
708 // index - holds the overwritten index on exit. | 705 // index - holds the overwritten index on exit. |
709 void IndexFromHash(Register hash, Register index); | 706 void IndexFromHash(Register hash, Register index); |
710 | 707 |
711 // --------------------------------------------------------------------------- | 708 // --------------------------------------------------------------------------- |
712 // Runtime calls | 709 // Runtime calls |
713 | 710 |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1066 } \ | 1063 } \ |
1067 masm-> | 1064 masm-> |
1068 #else | 1065 #else |
1069 #define ACCESS_MASM(masm) masm-> | 1066 #define ACCESS_MASM(masm) masm-> |
1070 #endif | 1067 #endif |
1071 | 1068 |
1072 | 1069 |
1073 } } // namespace v8::internal | 1070 } } // namespace v8::internal |
1074 | 1071 |
1075 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1072 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |