OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #if V8_TARGET_ARCH_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
6 | 6 |
7 #include "src/ic/call-optimization.h" | 7 #include "src/ic/call-optimization.h" |
8 #include "src/ic/handler-compiler.h" | 8 #include "src/ic/handler-compiler.h" |
9 #include "src/ic/ic.h" | 9 #include "src/ic/ic.h" |
| 10 #include "src/isolate-inl.h" |
10 | 11 |
11 namespace v8 { | 12 namespace v8 { |
12 namespace internal { | 13 namespace internal { |
13 | 14 |
14 #define __ ACCESS_MASM(masm) | 15 #define __ ACCESS_MASM(masm) |
15 | 16 |
16 | 17 |
17 void NamedLoadHandlerCompiler::GenerateLoadViaGetter( | 18 void NamedLoadHandlerCompiler::GenerateLoadViaGetter( |
18 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, | 19 MacroAssembler* masm, Handle<Map> map, Register receiver, Register holder, |
19 int accessor_index, int expected_arguments, Register scratch) { | 20 int accessor_index, int expected_arguments, Register scratch) { |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
803 // Return the generated code. | 804 // Return the generated code. |
804 return GetCode(kind(), Code::NORMAL, name); | 805 return GetCode(kind(), Code::NORMAL, name); |
805 } | 806 } |
806 | 807 |
807 | 808 |
808 #undef __ | 809 #undef __ |
809 } // namespace internal | 810 } // namespace internal |
810 } // namespace v8 | 811 } // namespace v8 |
811 | 812 |
812 #endif // V8_TARGET_ARCH_IA32 | 813 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |