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 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 DCHECK(callback->IsDeclaredAccessorInfo()); | 1590 DCHECK(callback->IsDeclaredAccessorInfo()); |
1591 break; | 1591 break; |
1592 } | 1592 } |
1593 case INTERCEPTOR: { | 1593 case INTERCEPTOR: { |
1594 DCHECK(HasInterceptorSetter(*holder)); | 1594 DCHECK(HasInterceptorSetter(*holder)); |
1595 NamedStoreHandlerCompiler compiler(isolate(), receiver_type(), holder); | 1595 NamedStoreHandlerCompiler compiler(isolate(), receiver_type(), holder); |
1596 return compiler.CompileStoreInterceptor(name); | 1596 return compiler.CompileStoreInterceptor(name); |
1597 } | 1597 } |
1598 case CONSTANT: | 1598 case CONSTANT: |
1599 break; | 1599 break; |
1600 case NONEXISTENT: | |
1601 case HANDLER: | 1600 case HANDLER: |
1602 UNREACHABLE(); | 1601 UNREACHABLE(); |
1603 break; | 1602 break; |
1604 } | 1603 } |
1605 } | 1604 } |
1606 return slow_stub(); | 1605 return slow_stub(); |
1607 } | 1606 } |
1608 | 1607 |
1609 | 1608 |
1610 Handle<Code> KeyedStoreIC::StoreElementStub(Handle<JSObject> receiver, | 1609 Handle<Code> KeyedStoreIC::StoreElementStub(Handle<JSObject> receiver, |
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3173 #undef ADDR | 3172 #undef ADDR |
3174 }; | 3173 }; |
3175 | 3174 |
3176 | 3175 |
3177 Address IC::AddressFromUtilityId(IC::UtilityId id) { | 3176 Address IC::AddressFromUtilityId(IC::UtilityId id) { |
3178 return IC_utilities[id]; | 3177 return IC_utilities[id]; |
3179 } | 3178 } |
3180 | 3179 |
3181 | 3180 |
3182 } } // namespace v8::internal | 3181 } } // namespace v8::internal |
OLD | NEW |