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_IA32 |
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 receiver, offset, extra); | 197 receiver, offset, extra); |
198 | 198 |
199 // Cache miss: Fall-through and let caller handle the miss by | 199 // Cache miss: Fall-through and let caller handle the miss by |
200 // entering the runtime system. | 200 // entering the runtime system. |
201 __ bind(&miss); | 201 __ bind(&miss); |
202 __ IncrementCounter(counters->megamorphic_stub_cache_misses(), 1); | 202 __ IncrementCounter(counters->megamorphic_stub_cache_misses(), 1); |
203 } | 203 } |
204 | 204 |
205 | 205 |
206 #undef __ | 206 #undef __ |
207 } | 207 } // namespace internal |
208 } // namespace v8::internal | 208 } // namespace v8 |
209 | 209 |
210 #endif // V8_TARGET_ARCH_IA32 | 210 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |