OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 Isolate* isolate, | 117 Isolate* isolate, |
118 CodeStubInterfaceDescriptor* descriptor) { | 118 CodeStubInterfaceDescriptor* descriptor) { |
119 static Register registers[] = { r1, r0 }; | 119 static Register registers[] = { r1, r0 }; |
120 descriptor->register_param_count_ = 2; | 120 descriptor->register_param_count_ = 2; |
121 descriptor->register_params_ = registers; | 121 descriptor->register_params_ = registers; |
122 descriptor->deoptimization_handler_ = | 122 descriptor->deoptimization_handler_ = |
123 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); | 123 FUNCTION_ADDR(KeyedLoadIC_MissFromStubFailure); |
124 } | 124 } |
125 | 125 |
126 | 126 |
| 127 void KeyedLoadGenericElementStub::InitializeInterfaceDescriptor( |
| 128 Isolate* isolate, |
| 129 CodeStubInterfaceDescriptor* descriptor) { |
| 130 static Register registers[] = { r1, r0 }; |
| 131 descriptor->register_param_count_ = 2; |
| 132 descriptor->register_params_ = registers; |
| 133 descriptor->deoptimization_handler_ = |
| 134 Runtime::FunctionForId(Runtime::kKeyedGetProperty)->entry; |
| 135 } |
| 136 |
| 137 |
127 void LoadFieldStub::InitializeInterfaceDescriptor( | 138 void LoadFieldStub::InitializeInterfaceDescriptor( |
128 Isolate* isolate, | 139 Isolate* isolate, |
129 CodeStubInterfaceDescriptor* descriptor) { | 140 CodeStubInterfaceDescriptor* descriptor) { |
130 static Register registers[] = { r0 }; | 141 static Register registers[] = { r0 }; |
131 descriptor->register_param_count_ = 1; | 142 descriptor->register_param_count_ = 1; |
132 descriptor->register_params_ = registers; | 143 descriptor->register_params_ = registers; |
133 descriptor->deoptimization_handler_ = NULL; | 144 descriptor->deoptimization_handler_ = NULL; |
134 } | 145 } |
135 | 146 |
136 | 147 |
(...skipping 5995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6132 __ bind(&fast_elements_case); | 6143 __ bind(&fast_elements_case); |
6133 GenerateCase(masm, FAST_ELEMENTS); | 6144 GenerateCase(masm, FAST_ELEMENTS); |
6134 } | 6145 } |
6135 | 6146 |
6136 | 6147 |
6137 #undef __ | 6148 #undef __ |
6138 | 6149 |
6139 } } // namespace v8::internal | 6150 } } // namespace v8::internal |
6140 | 6151 |
6141 #endif // V8_TARGET_ARCH_ARM | 6152 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |