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

Side by Side Diff: src/crankshaft/mips64/lithium-codegen-mips64.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 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 #include "src/crankshaft/mips64/lithium-codegen-mips64.h" 5 #include "src/crankshaft/mips64/lithium-codegen-mips64.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/crankshaft/hydrogen-osr.h" 9 #include "src/crankshaft/hydrogen-osr.h"
10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h" 10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h"
(...skipping 5742 matching lines...) Expand 10 before | Expand all | Expand 10 after
5753 __ bind(&out_of_object); 5753 __ bind(&out_of_object);
5754 __ ld(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); 5754 __ ld(result, FieldMemOperand(object, JSObject::kPropertiesOffset));
5755 // Index is equal to negated out of object property index plus 1. 5755 // Index is equal to negated out of object property index plus 1.
5756 __ Dsubu(scratch, result, scratch); 5756 __ Dsubu(scratch, result, scratch);
5757 __ ld(result, FieldMemOperand(scratch, 5757 __ ld(result, FieldMemOperand(scratch,
5758 FixedArray::kHeaderSize - kPointerSize)); 5758 FixedArray::kHeaderSize - kPointerSize));
5759 __ bind(deferred->exit()); 5759 __ bind(deferred->exit());
5760 __ bind(&done); 5760 __ bind(&done);
5761 } 5761 }
5762 5762
5763
5764 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) {
5765 Register context = ToRegister(instr->context());
5766 __ sd(context, MemOperand(fp, StandardFrameConstants::kContextOffset));
5767 }
5768
5769
5770 #undef __ 5763 #undef __
5771 5764
5772 } // namespace internal 5765 } // namespace internal
5773 } // namespace v8 5766 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698