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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.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 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/crankshaft/x87/lithium-codegen-x87.h" 7 #include "src/crankshaft/x87/lithium-codegen-x87.h"
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 5803 matching lines...) Expand 10 before | Expand all | Expand 10 after
5814 __ neg(index); 5814 __ neg(index);
5815 // Index is now equal to out of object property index plus 1. 5815 // Index is now equal to out of object property index plus 1.
5816 __ mov(object, FieldOperand(object, 5816 __ mov(object, FieldOperand(object,
5817 index, 5817 index,
5818 times_half_pointer_size, 5818 times_half_pointer_size,
5819 FixedArray::kHeaderSize - kPointerSize)); 5819 FixedArray::kHeaderSize - kPointerSize));
5820 __ bind(deferred->exit()); 5820 __ bind(deferred->exit());
5821 __ bind(&done); 5821 __ bind(&done);
5822 } 5822 }
5823 5823
5824
5825 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) {
5826 Register context = ToRegister(instr->context());
5827 __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context);
5828 }
5829
5830
5831 #undef __ 5824 #undef __
5832 5825
5833 } // namespace internal 5826 } // namespace internal
5834 } // namespace v8 5827 } // namespace v8
5835 5828
5836 #endif // V8_TARGET_ARCH_X87 5829 #endif // V8_TARGET_ARCH_X87
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698