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 #ifndef V8_IC_INL_H_ | 5 #ifndef V8_IC_INL_H_ |
6 #define V8_IC_INL_H_ | 6 #define V8_IC_INL_H_ |
7 | 7 |
8 #include "ic.h" | 8 #include "src/ic.h" |
9 | 9 |
10 #include "compiler.h" | 10 #include "src/compiler.h" |
11 #include "debug.h" | 11 #include "src/debug.h" |
12 #include "macro-assembler.h" | 12 #include "src/macro-assembler.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 | 17 |
18 Address IC::address() const { | 18 Address IC::address() const { |
19 // Get the address of the call. | 19 // Get the address of the call. |
20 Address result = Assembler::target_address_from_return_address(pc()); | 20 Address result = Assembler::target_address_from_return_address(pc()); |
21 | 21 |
22 Debug* debug = isolate()->debug(); | 22 Debug* debug = isolate()->debug(); |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 } | 167 } |
168 return handle(JSObject::cast(constructor->instance_prototype())->map()); | 168 return handle(JSObject::cast(constructor->instance_prototype())->map()); |
169 } | 169 } |
170 return TypeToMap(type, isolate); | 170 return TypeToMap(type, isolate); |
171 } | 171 } |
172 | 172 |
173 | 173 |
174 } } // namespace v8::internal | 174 } } // namespace v8::internal |
175 | 175 |
176 #endif // V8_IC_INL_H_ | 176 #endif // V8_IC_INL_H_ |
OLD | NEW |