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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 void RegExpConstructResultStub::InitializeInterfaceDescriptor( | 111 void RegExpConstructResultStub::InitializeInterfaceDescriptor( |
112 CodeStubInterfaceDescriptor* descriptor) { | 112 CodeStubInterfaceDescriptor* descriptor) { |
113 static Register registers[] = { r2, r1, r0 }; | 113 static Register registers[] = { r2, r1, r0 }; |
114 descriptor->register_param_count_ = 3; | 114 descriptor->register_param_count_ = 3; |
115 descriptor->register_params_ = registers; | 115 descriptor->register_params_ = registers; |
116 descriptor->deoptimization_handler_ = | 116 descriptor->deoptimization_handler_ = |
117 Runtime::FunctionForId(Runtime::kHiddenRegExpConstructResult)->entry; | 117 Runtime::FunctionForId(Runtime::kHiddenRegExpConstructResult)->entry; |
118 } | 118 } |
119 | 119 |
120 | 120 |
| 121 void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor( |
| 122 CodeStubInterfaceDescriptor* descriptor) { |
| 123 static Register registers[] = { r1, r0 }; |
| 124 descriptor->register_param_count_ = 2; |
| 125 descriptor->register_params_ = registers; |
| 126 descriptor->deoptimization_handler_ = |
| 127 Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry; |
| 128 } |
| 129 |
| 130 |
121 void LoadFieldStub::InitializeInterfaceDescriptor( | 131 void LoadFieldStub::InitializeInterfaceDescriptor( |
122 CodeStubInterfaceDescriptor* descriptor) { | 132 CodeStubInterfaceDescriptor* descriptor) { |
123 static Register registers[] = { r0 }; | 133 static Register registers[] = { r0 }; |
124 descriptor->register_param_count_ = 1; | 134 descriptor->register_param_count_ = 1; |
125 descriptor->register_params_ = registers; | 135 descriptor->register_params_ = registers; |
126 descriptor->deoptimization_handler_ = NULL; | 136 descriptor->deoptimization_handler_ = NULL; |
127 } | 137 } |
128 | 138 |
129 | 139 |
130 void KeyedLoadFieldStub::InitializeInterfaceDescriptor( | 140 void KeyedLoadFieldStub::InitializeInterfaceDescriptor( |
(...skipping 5143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5274 MemOperand(fp, 6 * kPointerSize), | 5284 MemOperand(fp, 6 * kPointerSize), |
5275 NULL); | 5285 NULL); |
5276 } | 5286 } |
5277 | 5287 |
5278 | 5288 |
5279 #undef __ | 5289 #undef __ |
5280 | 5290 |
5281 } } // namespace v8::internal | 5291 } } // namespace v8::internal |
5282 | 5292 |
5283 #endif // V8_TARGET_ARCH_ARM | 5293 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |