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_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 4280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4291 // Note side effect of PreIndex: r3 now points to the key of the pair. | 4291 // Note side effect of PreIndex: r3 now points to the key of the pair. |
4292 __ cmp(key, r2); | 4292 __ cmp(key, r2); |
4293 __ b(ne, ¬_found); | 4293 __ b(ne, ¬_found); |
4294 | 4294 |
4295 __ ldr(r0, MemOperand(r3, kPointerSize)); | 4295 __ ldr(r0, MemOperand(r3, kPointerSize)); |
4296 __ b(&done); | 4296 __ b(&done); |
4297 | 4297 |
4298 __ bind(¬_found); | 4298 __ bind(¬_found); |
4299 // Call runtime to perform the lookup. | 4299 // Call runtime to perform the lookup. |
4300 __ Push(cache, key); | 4300 __ Push(cache, key); |
4301 __ CallRuntime(Runtime::kGetFromCache, 2); | 4301 __ CallRuntime(Runtime::kGetFromCacheRT, 2); |
4302 | 4302 |
4303 __ bind(&done); | 4303 __ bind(&done); |
4304 context()->Plug(r0); | 4304 context()->Plug(r0); |
4305 } | 4305 } |
4306 | 4306 |
4307 | 4307 |
4308 void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) { | 4308 void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) { |
4309 ZoneList<Expression*>* args = expr->arguments(); | 4309 ZoneList<Expression*>* args = expr->arguments(); |
4310 VisitForAccumulatorValue(args->at(0)); | 4310 VisitForAccumulatorValue(args->at(0)); |
4311 | 4311 |
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5503 | 5503 |
5504 DCHECK(interrupt_address == | 5504 DCHECK(interrupt_address == |
5505 isolate->builtins()->OsrAfterStackCheck()->entry()); | 5505 isolate->builtins()->OsrAfterStackCheck()->entry()); |
5506 return OSR_AFTER_STACK_CHECK; | 5506 return OSR_AFTER_STACK_CHECK; |
5507 } | 5507 } |
5508 | 5508 |
5509 | 5509 |
5510 } } // namespace v8::internal | 5510 } } // namespace v8::internal |
5511 | 5511 |
5512 #endif // V8_TARGET_ARCH_ARM | 5512 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |