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

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

Issue 2621123002: [crankshaft] Fix mips/mips64 build: remove unused variable (Closed)
Patch Set: Created 3 years, 11 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 | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | no next file » | 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 #include "src/crankshaft/mips64/lithium-codegen-mips64.h" 5 #include "src/crankshaft/mips64/lithium-codegen-mips64.h"
6 6
7 #include "src/builtins/builtins-constructor.h" 7 #include "src/builtins/builtins-constructor.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 2595 matching lines...) Expand 10 before | Expand all | Expand 10 after
2606 Register context = ToRegister(instr->context()); 2606 Register context = ToRegister(instr->context());
2607 Register result = ToRegister(instr->result()); 2607 Register result = ToRegister(instr->result());
2608 2608
2609 __ ld(result, ContextMemOperand(context, instr->slot_index())); 2609 __ ld(result, ContextMemOperand(context, instr->slot_index()));
2610 } 2610 }
2611 2611
2612 2612
2613 void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) { 2613 void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) {
2614 Register context = ToRegister(instr->context()); 2614 Register context = ToRegister(instr->context());
2615 Register value = ToRegister(instr->value()); 2615 Register value = ToRegister(instr->value());
2616 Register scratch = scratch0();
2617 MemOperand target = ContextMemOperand(context, instr->slot_index()); 2616 MemOperand target = ContextMemOperand(context, instr->slot_index());
2618 2617
2619 __ sd(value, target); 2618 __ sd(value, target);
2620 if (instr->hydrogen()->NeedsWriteBarrier()) { 2619 if (instr->hydrogen()->NeedsWriteBarrier()) {
2621 SmiCheck check_needed = 2620 SmiCheck check_needed =
2622 instr->hydrogen()->value()->type().IsHeapObject() 2621 instr->hydrogen()->value()->type().IsHeapObject()
2623 ? OMIT_SMI_CHECK : INLINE_SMI_CHECK; 2622 ? OMIT_SMI_CHECK : INLINE_SMI_CHECK;
2624 __ RecordWriteContextSlot(context, 2623 __ RecordWriteContextSlot(context,
2625 target.offset(), 2624 target.offset(),
2626 value, 2625 value,
(...skipping 2970 matching lines...) Expand 10 before | Expand all | Expand 10 after
5597 __ ld(result, FieldMemOperand(scratch, 5596 __ ld(result, FieldMemOperand(scratch,
5598 FixedArray::kHeaderSize - kPointerSize)); 5597 FixedArray::kHeaderSize - kPointerSize));
5599 __ bind(deferred->exit()); 5598 __ bind(deferred->exit());
5600 __ bind(&done); 5599 __ bind(&done);
5601 } 5600 }
5602 5601
5603 #undef __ 5602 #undef __
5604 5603
5605 } // namespace internal 5604 } // namespace internal
5606 } // namespace v8 5605 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698