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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_X64 | 7 #if V8_TARGET_ARCH_X64 |
8 | 8 |
9 #include "src/ic/ic.h" | 9 #include "src/ic/ic.h" |
10 #include "src/ic/ic-compiler.h" | 10 #include "src/ic/ic-compiler.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 TailCallBuiltin(masm(), MissBuiltin(kind())); | 129 TailCallBuiltin(masm(), MissBuiltin(kind())); |
130 | 130 |
131 // Return the generated code. | 131 // Return the generated code. |
132 InlineCacheState state = | 132 InlineCacheState state = |
133 number_of_handled_maps > 1 ? POLYMORPHIC : MONOMORPHIC; | 133 number_of_handled_maps > 1 ? POLYMORPHIC : MONOMORPHIC; |
134 return GetCode(kind(), type, name, state); | 134 return GetCode(kind(), type, name, state); |
135 } | 135 } |
136 | 136 |
137 | 137 |
138 #undef __ | 138 #undef __ |
139 } | 139 } // namespace internal |
140 } // namespace v8::internal | 140 } // namespace v8 |
141 | 141 |
142 #endif // V8_TARGET_ARCH_X64 | 142 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |