OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 4283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4294 if (and_then == kFallThroughAtEnd) { | 4294 if (and_then == kFallThroughAtEnd) { |
4295 Tbz(scratch1, (14 + kPointerSizeLog2), &done); | 4295 Tbz(scratch1, (14 + kPointerSizeLog2), &done); |
4296 } else { | 4296 } else { |
4297 DCHECK(and_then == kReturnAtEnd); | 4297 DCHECK(and_then == kReturnAtEnd); |
4298 Tbnz(scratch1, (14 + kPointerSizeLog2), &store_buffer_overflow); | 4298 Tbnz(scratch1, (14 + kPointerSizeLog2), &store_buffer_overflow); |
4299 Ret(); | 4299 Ret(); |
4300 } | 4300 } |
4301 | 4301 |
4302 Bind(&store_buffer_overflow); | 4302 Bind(&store_buffer_overflow); |
4303 Push(lr); | 4303 Push(lr); |
4304 StoreBufferOverflowStub store_buffer_overflow_stub = | 4304 StoreBufferOverflowStub store_buffer_overflow_stub(isolate(), fp_mode); |
4305 StoreBufferOverflowStub(isolate(), fp_mode); | |
4306 CallStub(&store_buffer_overflow_stub); | 4305 CallStub(&store_buffer_overflow_stub); |
4307 Pop(lr); | 4306 Pop(lr); |
4308 | 4307 |
4309 Bind(&done); | 4308 Bind(&done); |
4310 if (and_then == kReturnAtEnd) { | 4309 if (and_then == kReturnAtEnd) { |
4311 Ret(); | 4310 Ret(); |
4312 } | 4311 } |
4313 } | 4312 } |
4314 | 4313 |
4315 | 4314 |
(...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5425 } | 5424 } |
5426 } | 5425 } |
5427 | 5426 |
5428 | 5427 |
5429 #undef __ | 5428 #undef __ |
5430 | 5429 |
5431 | 5430 |
5432 } } // namespace v8::internal | 5431 } } // namespace v8::internal |
5433 | 5432 |
5434 #endif // V8_TARGET_ARCH_ARM64 | 5433 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |