Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: src/arm64/code-stubs-arm64.cc

Issue 2313093002: [stubs] Port StoreTransitionStub and ElementsTransitionAndStoreStub to TurboFan. (Closed)
Patch Set: Addressing comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/code-stubs.h" 7 #include "src/code-stubs.h"
8 #include "src/api-arguments.h" 8 #include "src/api-arguments.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 3597 matching lines...) Expand 10 before | Expand all | Expand 10 after
3608 __ Ldr(pointer_reg, MemOperand(pointer_reg, kPointerSize * 2)); 3608 __ Ldr(pointer_reg, MemOperand(pointer_reg, kPointerSize * 2));
3609 __ Add(pointer_reg, pointer_reg, Code::kHeaderSize - kHeapObjectTag); 3609 __ Add(pointer_reg, pointer_reg, Code::kHeaderSize - kHeapObjectTag);
3610 __ Jump(pointer_reg); 3610 __ Jump(pointer_reg);
3611 3611
3612 __ Bind(&transition_call); 3612 __ Bind(&transition_call);
3613 __ Ldr(too_far, FieldMemOperand(too_far, WeakCell::kValueOffset)); 3613 __ Ldr(too_far, FieldMemOperand(too_far, WeakCell::kValueOffset));
3614 __ JumpIfSmi(too_far, miss); 3614 __ JumpIfSmi(too_far, miss);
3615 3615
3616 __ Ldr(receiver_map, MemOperand(pointer_reg, kPointerSize * 2)); 3616 __ Ldr(receiver_map, MemOperand(pointer_reg, kPointerSize * 2));
3617 // Load the map into the correct register. 3617 // Load the map into the correct register.
3618 DCHECK(feedback.is(VectorStoreTransitionDescriptor::MapRegister())); 3618 DCHECK(feedback.is(StoreTransitionDescriptor::MapRegister()));
3619 __ mov(feedback, too_far); 3619 __ mov(feedback, too_far);
3620 __ Add(receiver_map, receiver_map, Code::kHeaderSize - kHeapObjectTag); 3620 __ Add(receiver_map, receiver_map, Code::kHeaderSize - kHeapObjectTag);
3621 __ Jump(receiver_map); 3621 __ Jump(receiver_map);
3622 3622
3623 __ Bind(&prepare_next); 3623 __ Bind(&prepare_next);
3624 __ Add(pointer_reg, pointer_reg, kPointerSize * 3); 3624 __ Add(pointer_reg, pointer_reg, kPointerSize * 3);
3625 __ Cmp(pointer_reg, too_far); 3625 __ Cmp(pointer_reg, too_far);
3626 __ B(lt, &next_loop); 3626 __ B(lt, &next_loop);
3627 3627
3628 // We exhausted our array of map handler pairs. 3628 // We exhausted our array of map handler pairs.
(...skipping 1906 matching lines...) Expand 10 before | Expand all | Expand 10 after
5535 kStackUnwindSpace, NULL, spill_offset, 5535 kStackUnwindSpace, NULL, spill_offset,
5536 return_value_operand, NULL); 5536 return_value_operand, NULL);
5537 } 5537 }
5538 5538
5539 #undef __ 5539 #undef __
5540 5540
5541 } // namespace internal 5541 } // namespace internal
5542 } // namespace v8 5542 } // namespace v8
5543 5543
5544 #endif // V8_TARGET_ARCH_ARM64 5544 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698