| 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_IA32 | 7 #if V8_TARGET_ARCH_X87 |
| 8 | 8 |
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/ic/stub-cache.h" | 10 #include "src/ic/stub-cache.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 #define __ ACCESS_MASM(masm) | 15 #define __ ACCESS_MASM(masm) |
| 16 | 16 |
| 17 | 17 |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // entering the runtime system. | 173 // entering the runtime system. |
| 174 __ bind(&miss); | 174 __ bind(&miss); |
| 175 __ IncrementCounter(counters->megamorphic_stub_cache_misses(), 1); | 175 __ IncrementCounter(counters->megamorphic_stub_cache_misses(), 1); |
| 176 } | 176 } |
| 177 | 177 |
| 178 | 178 |
| 179 #undef __ | 179 #undef __ |
| 180 } | 180 } |
| 181 } // namespace v8::internal | 181 } // namespace v8::internal |
| 182 | 182 |
| 183 #endif // V8_TARGET_ARCH_IA32 | 183 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |