| 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/ic/ic.h" | 5 #include "src/ic/ic.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/base/bits.h" | 10 #include "src/base/bits.h" |
| 11 #include "src/codegen.h" | 11 #include "src/codegen.h" |
| 12 #include "src/conversions.h" | 12 #include "src/conversions.h" |
| 13 #include "src/execution.h" | 13 #include "src/execution.h" |
| 14 #include "src/frames-inl.h" | 14 #include "src/frames-inl.h" |
| 15 #include "src/ic/call-optimization.h" | 15 #include "src/ic/call-optimization.h" |
| 16 #include "src/ic/handler-compiler.h" | 16 #include "src/ic/handler-compiler.h" |
| 17 #include "src/ic/ic-inl.h" | 17 #include "src/ic/ic-inl.h" |
| 18 #include "src/ic/ic-compiler.h" | 18 #include "src/ic/ic-compiler.h" |
| 19 #include "src/ic/stub-cache.h" | 19 #include "src/ic/stub-cache.h" |
| 20 #include "src/isolate-inl.h" |
| 20 #include "src/macro-assembler.h" | 21 #include "src/macro-assembler.h" |
| 21 #include "src/prototype.h" | 22 #include "src/prototype.h" |
| 22 #include "src/runtime/runtime.h" | 23 #include "src/runtime/runtime.h" |
| 23 | 24 |
| 24 namespace v8 { | 25 namespace v8 { |
| 25 namespace internal { | 26 namespace internal { |
| 26 | 27 |
| 27 char IC::TransitionMarkFromState(IC::State state) { | 28 char IC::TransitionMarkFromState(IC::State state) { |
| 28 switch (state) { | 29 switch (state) { |
| 29 case UNINITIALIZED: | 30 case UNINITIALIZED: |
| (...skipping 3101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3131 KeyedLoadICNexus nexus(vector, vector_slot); | 3132 KeyedLoadICNexus nexus(vector, vector_slot); |
| 3132 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate, &nexus); | 3133 KeyedLoadIC ic(IC::EXTRA_CALL_FRAME, isolate, &nexus); |
| 3133 ic.UpdateState(receiver, key); | 3134 ic.UpdateState(receiver, key); |
| 3134 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, ic.Load(receiver, key)); | 3135 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, ic.Load(receiver, key)); |
| 3135 } | 3136 } |
| 3136 | 3137 |
| 3137 return *result; | 3138 return *result; |
| 3138 } | 3139 } |
| 3139 } // namespace internal | 3140 } // namespace internal |
| 3140 } // namespace v8 | 3141 } // namespace v8 |
| OLD | NEW |