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 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 |
8 | 8 |
9 #include "src/ic/call-optimization.h" | 9 #include "src/ic/call-optimization.h" |
10 #include "src/ic/handler-compiler.h" | 10 #include "src/ic/handler-compiler.h" |
| 11 #include "src/ic/ic.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 #define __ ACCESS_MASM(masm) | 16 #define __ ACCESS_MASM(masm) |
16 | 17 |
17 | 18 |
18 void NamedLoadHandlerCompiler::GenerateLoadViaGetter( | 19 void NamedLoadHandlerCompiler::GenerateLoadViaGetter( |
19 MacroAssembler* masm, Handle<HeapType> type, Register receiver, | 20 MacroAssembler* masm, Handle<HeapType> type, Register receiver, |
20 Handle<JSFunction> getter) { | 21 Handle<JSFunction> getter) { |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 // Return the generated code. | 846 // Return the generated code. |
846 return GetCode(kind(), Code::NORMAL, name); | 847 return GetCode(kind(), Code::NORMAL, name); |
847 } | 848 } |
848 | 849 |
849 | 850 |
850 #undef __ | 851 #undef __ |
851 } | 852 } |
852 } // namespace v8::internal | 853 } // namespace v8::internal |
853 | 854 |
854 #endif // V8_TARGET_ARCH_X87 | 855 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |