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 3173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) { | 3192 RUNTIME_FUNCTION(VectorLoadIC_MissFromStubFailure) { |
3193 // TODO(mvstanton): To be enabled when ICs can accept a vector and slot | 3193 // TODO(mvstanton): To be enabled when ICs can accept a vector and slot |
3194 DCHECK(!"Not yet implemented"); | |
3195 return NULL; | 3194 return NULL; |
3196 } | 3195 } |
3197 | 3196 |
3198 | 3197 |
3199 RUNTIME_FUNCTION(VectorKeyedLoadIC_MissFromStubFailure) { | 3198 RUNTIME_FUNCTION(VectorKeyedLoadIC_MissFromStubFailure) { |
3200 // TODO(mvstanton): To be enabled when ICs can accept a vector and slot | 3199 // TODO(mvstanton): To be enabled when ICs can accept a vector and slot |
3201 DCHECK(!"Not yet implemented"); | |
3202 return NULL; | 3200 return NULL; |
3203 } | 3201 } |
3204 | 3202 |
3205 | 3203 |
3206 static const Address IC_utilities[] = { | 3204 static const Address IC_utilities[] = { |
3207 #define ADDR(name) FUNCTION_ADDR(name), | 3205 #define ADDR(name) FUNCTION_ADDR(name), |
3208 IC_UTIL_LIST(ADDR) NULL | 3206 IC_UTIL_LIST(ADDR) NULL |
3209 #undef ADDR | 3207 #undef ADDR |
3210 }; | 3208 }; |
3211 | 3209 |
3212 | 3210 |
3213 Address IC::AddressFromUtilityId(IC::UtilityId id) { return IC_utilities[id]; } | 3211 Address IC::AddressFromUtilityId(IC::UtilityId id) { return IC_utilities[id]; } |
3214 } | 3212 } |
3215 } // namespace v8::internal | 3213 } // namespace v8::internal |
OLD | NEW |