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

Side by Side Diff: src/crankshaft/s390/lithium-codegen-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include "src/crankshaft/s390/lithium-codegen-s390.h" 6 #include "src/crankshaft/s390/lithium-codegen-s390.h"
7 7
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 5645 matching lines...) Expand 10 before | Expand all | Expand 10 after
5656 __ LoadP(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); 5656 __ LoadP(result, FieldMemOperand(object, JSObject::kPropertiesOffset));
5657 // Index is equal to negated out of object property index plus 1. 5657 // Index is equal to negated out of object property index plus 1.
5658 __ SmiToPtrArrayOffset(r0, index); 5658 __ SmiToPtrArrayOffset(r0, index);
5659 __ SubP(scratch, result, r0); 5659 __ SubP(scratch, result, r0);
5660 __ LoadP(result, 5660 __ LoadP(result,
5661 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); 5661 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize));
5662 __ bind(deferred->exit()); 5662 __ bind(deferred->exit());
5663 __ bind(&done); 5663 __ bind(&done);
5664 } 5664 }
5665 5665
5666 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { 5666 #undef __
5667 Register context = ToRegister(instr->context());
5668 __ StoreP(context, MemOperand(fp, StandardFrameConstants::kContextOffset));
5669 }
5670 5667
5671 #undef __
5672 } // namespace internal 5668 } // namespace internal
5673 } // namespace v8 5669 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698