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

Side by Side Diff: src/arm/code-stubs-arm.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 | « no previous file | src/arm/interface-descriptors-arm.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 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 #if V8_TARGET_ARCH_ARM 5 #if V8_TARGET_ARCH_ARM
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/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 3660 matching lines...) Expand 10 before | Expand all | Expand 10 after
3671 __ ldr(pointer_reg, MemOperand(pointer_reg, kPointerSize * 2)); 3671 __ ldr(pointer_reg, MemOperand(pointer_reg, kPointerSize * 2));
3672 __ add(pc, pointer_reg, Operand(Code::kHeaderSize - kHeapObjectTag)); 3672 __ add(pc, pointer_reg, Operand(Code::kHeaderSize - kHeapObjectTag));
3673 3673
3674 __ bind(&transition_call); 3674 __ bind(&transition_call);
3675 __ ldr(too_far, FieldMemOperand(too_far, WeakCell::kValueOffset)); 3675 __ ldr(too_far, FieldMemOperand(too_far, WeakCell::kValueOffset));
3676 __ JumpIfSmi(too_far, miss); 3676 __ JumpIfSmi(too_far, miss);
3677 3677
3678 __ ldr(receiver_map, MemOperand(pointer_reg, kPointerSize * 2)); 3678 __ ldr(receiver_map, MemOperand(pointer_reg, kPointerSize * 2));
3679 3679
3680 // Load the map into the correct register. 3680 // Load the map into the correct register.
3681 DCHECK(feedback.is(VectorStoreTransitionDescriptor::MapRegister())); 3681 DCHECK(feedback.is(StoreTransitionDescriptor::MapRegister()));
3682 __ mov(feedback, too_far); 3682 __ mov(feedback, too_far);
3683 3683
3684 __ add(pc, receiver_map, Operand(Code::kHeaderSize - kHeapObjectTag)); 3684 __ add(pc, receiver_map, Operand(Code::kHeaderSize - kHeapObjectTag));
3685 3685
3686 __ bind(&prepare_next); 3686 __ bind(&prepare_next);
3687 __ add(pointer_reg, pointer_reg, Operand(kPointerSize * 3)); 3687 __ add(pointer_reg, pointer_reg, Operand(kPointerSize * 3));
3688 __ cmp(pointer_reg, too_far); 3688 __ cmp(pointer_reg, too_far);
3689 __ b(lt, &next_loop); 3689 __ b(lt, &next_loop);
3690 3690
3691 // We exhausted our array of map handler pairs. 3691 // We exhausted our array of map handler pairs.
(...skipping 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after
5180 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, 5180 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref,
5181 kStackUnwindSpace, NULL, return_value_operand, NULL); 5181 kStackUnwindSpace, NULL, return_value_operand, NULL);
5182 } 5182 }
5183 5183
5184 #undef __ 5184 #undef __
5185 5185
5186 } // namespace internal 5186 } // namespace internal
5187 } // namespace v8 5187 } // namespace v8
5188 5188
5189 #endif // V8_TARGET_ARCH_ARM 5189 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/interface-descriptors-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698