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 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/api.h" | 8 #include "src/api.h" |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 3171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3182 DCHECK(args.smi_at(1) >= 0); | 3182 DCHECK(args.smi_at(1) >= 0); |
3183 uint32_t index = args.smi_at(1); | 3183 uint32_t index = args.smi_at(1); |
3184 Handle<Object> result; | 3184 Handle<Object> result; |
3185 ASSIGN_RETURN_FAILURE_ON_EXCEPTION( | 3185 ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
3186 isolate, result, | 3186 isolate, result, |
3187 JSObject::GetElementWithInterceptor(receiver, receiver, index)); | 3187 JSObject::GetElementWithInterceptor(receiver, receiver, index)); |
3188 return *result; | 3188 return *result; |
3189 } | 3189 } |
3190 | 3190 |
3191 | 3191 |
| 3192 RUNTIME_FUNCTION(VectorLoadIC_MissFromStubFailure) { |
| 3193 // TODO(mvstanton): To be enabled when ICs can accept a vector and slot |
| 3194 DCHECK(!"Not yet implemented"); |
| 3195 return NULL; |
| 3196 } |
| 3197 |
| 3198 |
| 3199 RUNTIME_FUNCTION(VectorKeyedLoadIC_MissFromStubFailure) { |
| 3200 // TODO(mvstanton): To be enabled when ICs can accept a vector and slot |
| 3201 DCHECK(!"Not yet implemented"); |
| 3202 return NULL; |
| 3203 } |
| 3204 |
| 3205 |
3192 static const Address IC_utilities[] = { | 3206 static const Address IC_utilities[] = { |
3193 #define ADDR(name) FUNCTION_ADDR(name), | 3207 #define ADDR(name) FUNCTION_ADDR(name), |
3194 IC_UTIL_LIST(ADDR) NULL | 3208 IC_UTIL_LIST(ADDR) NULL |
3195 #undef ADDR | 3209 #undef ADDR |
3196 }; | 3210 }; |
3197 | 3211 |
3198 | 3212 |
3199 Address IC::AddressFromUtilityId(IC::UtilityId id) { return IC_utilities[id]; } | 3213 Address IC::AddressFromUtilityId(IC::UtilityId id) { return IC_utilities[id]; } |
3200 } | 3214 } |
3201 } // namespace v8::internal | 3215 } // namespace v8::internal |
OLD | NEW |