OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_IC_CONVENTIONS_H_ | 5 #ifndef V8_IC_CONVENTIONS_H_ |
6 #define V8_IC_CONVENTIONS_H_ | 6 #define V8_IC_CONVENTIONS_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 }; | 51 }; |
52 static const Register ReceiverRegister(); | 52 static const Register ReceiverRegister(); |
53 static const Register NameRegister(); | 53 static const Register NameRegister(); |
54 static const Register ValueRegister(); | 54 static const Register ValueRegister(); |
55 | 55 |
56 // The map register isn't part of the normal call specification, but | 56 // The map register isn't part of the normal call specification, but |
57 // ElementsTransitionAndStoreStub, used in polymorphic keyed store | 57 // ElementsTransitionAndStoreStub, used in polymorphic keyed store |
58 // stub implementations requires it to be initialized. | 58 // stub implementations requires it to be initialized. |
59 static const Register MapRegister(); | 59 static const Register MapRegister(); |
60 }; | 60 }; |
| 61 |
| 62 |
| 63 class InstanceofConvention { |
| 64 public: |
| 65 enum ParameterIndices { kLeftIndex, kRightIndex, kParameterCount }; |
| 66 static const Register left(); |
| 67 static const Register right(); |
| 68 }; |
61 } | 69 } |
62 } // namespace v8::internal | 70 } // namespace v8::internal |
63 | 71 |
64 #endif // V8_IC_CONVENTIONS_H_ | 72 #endif // V8_IC_CONVENTIONS_H_ |
OLD | NEW |