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

Side by Side Diff: src/crankshaft/mips/lithium-codegen-mips.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 | « no previous file | src/crankshaft/mips64/lithium-codegen-mips64.cc » ('j') | 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.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after
2483 Register context = ToRegister(instr->context()); 2483 Register context = ToRegister(instr->context());
2484 Register result = ToRegister(instr->result()); 2484 Register result = ToRegister(instr->result());
2485 2485
2486 __ lw(result, ContextMemOperand(context, instr->slot_index())); 2486 __ lw(result, ContextMemOperand(context, instr->slot_index()));
2487 } 2487 }
2488 2488
2489 2489
2490 void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) { 2490 void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) {
2491 Register context = ToRegister(instr->context()); 2491 Register context = ToRegister(instr->context());
2492 Register value = ToRegister(instr->value()); 2492 Register value = ToRegister(instr->value());
2493 Register scratch = scratch0();
2494 MemOperand target = ContextMemOperand(context, instr->slot_index()); 2493 MemOperand target = ContextMemOperand(context, instr->slot_index());
2495 2494
2496 __ sw(value, target); 2495 __ sw(value, target);
2497 if (instr->hydrogen()->NeedsWriteBarrier()) { 2496 if (instr->hydrogen()->NeedsWriteBarrier()) {
2498 SmiCheck check_needed = 2497 SmiCheck check_needed =
2499 instr->hydrogen()->value()->type().IsHeapObject() 2498 instr->hydrogen()->value()->type().IsHeapObject()
2500 ? OMIT_SMI_CHECK : INLINE_SMI_CHECK; 2499 ? OMIT_SMI_CHECK : INLINE_SMI_CHECK;
2501 __ RecordWriteContextSlot(context, 2500 __ RecordWriteContextSlot(context,
2502 target.offset(), 2501 target.offset(),
2503 value, 2502 value,
(...skipping 2887 matching lines...) Expand 10 before | Expand all | Expand 10 after
5391 __ lw(result, FieldMemOperand(scratch, 5390 __ lw(result, FieldMemOperand(scratch,
5392 FixedArray::kHeaderSize - kPointerSize)); 5391 FixedArray::kHeaderSize - kPointerSize));
5393 __ bind(deferred->exit()); 5392 __ bind(deferred->exit());
5394 __ bind(&done); 5393 __ bind(&done);
5395 } 5394 }
5396 5395
5397 #undef __ 5396 #undef __
5398 5397
5399 } // namespace internal 5398 } // namespace internal
5400 } // namespace v8 5399 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/crankshaft/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698