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

Side by Side Diff: src/crankshaft/arm64/lithium-codegen-arm64.cc

Issue 1845553002: [crankshaft] Get rid of the StoreFrameContext instruction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
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 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" 5 #include "src/crankshaft/arm64/lithium-codegen-arm64.h"
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
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 5712 matching lines...) Expand 10 before | Expand all | Expand 10 after
5723 __ Bind(&out_of_object); 5723 __ Bind(&out_of_object);
5724 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); 5724 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset));
5725 // Index is equal to negated out of object property index plus 1. 5725 // Index is equal to negated out of object property index plus 1.
5726 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2)); 5726 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2));
5727 __ Ldr(result, FieldMemOperand(result, 5727 __ Ldr(result, FieldMemOperand(result,
5728 FixedArray::kHeaderSize - kPointerSize)); 5728 FixedArray::kHeaderSize - kPointerSize));
5729 __ Bind(deferred->exit()); 5729 __ Bind(deferred->exit());
5730 __ Bind(&done); 5730 __ Bind(&done);
5731 } 5731 }
5732 5732
5733
5734 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) {
5735 Register context = ToRegister(instr->context());
5736 __ Str(context, MemOperand(fp, StandardFrameConstants::kContextOffset));
5737 }
5738
5739
5740 } // namespace internal 5733 } // namespace internal
5741 } // namespace v8 5734 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698