| 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 8 | 8 |
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/ic/ic.h" | 10 #include "src/ic/ic.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 name, scratch); | 154 name, scratch); |
| 155 | 155 |
| 156 // Cache miss: Fall-through and let caller handle the miss by | 156 // Cache miss: Fall-through and let caller handle the miss by |
| 157 // entering the runtime system. | 157 // entering the runtime system. |
| 158 __ bind(&miss); | 158 __ bind(&miss); |
| 159 __ IncrementCounter(counters->megamorphic_stub_cache_misses(), 1); | 159 __ IncrementCounter(counters->megamorphic_stub_cache_misses(), 1); |
| 160 } | 160 } |
| 161 | 161 |
| 162 | 162 |
| 163 #undef __ | 163 #undef __ |
| 164 } | 164 } // namespace internal |
| 165 } // namespace v8::internal | 165 } // namespace v8 |
| 166 | 166 |
| 167 #endif // V8_TARGET_ARCH_X64 | 167 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |