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

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

Issue 2064993002: [stubs] Remove the is_jsarray bit from the TransitionElementsKindStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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') | src/crankshaft/ppc/lithium-codegen-ppc.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. 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 4373 matching lines...) Expand 10 before | Expand all | Expand 10 after
4384 __ RecordWriteForMap(object_reg, 4384 __ RecordWriteForMap(object_reg,
4385 new_map_reg, 4385 new_map_reg,
4386 scratch, 4386 scratch,
4387 GetRAState(), 4387 GetRAState(),
4388 kDontSaveFPRegs); 4388 kDontSaveFPRegs);
4389 } else { 4389 } else {
4390 DCHECK(object_reg.is(a0)); 4390 DCHECK(object_reg.is(a0));
4391 DCHECK(ToRegister(instr->context()).is(cp)); 4391 DCHECK(ToRegister(instr->context()).is(cp));
4392 PushSafepointRegistersScope scope(this); 4392 PushSafepointRegistersScope scope(this);
4393 __ li(a1, Operand(to_map)); 4393 __ li(a1, Operand(to_map));
4394 bool is_js_array = from_map->instance_type() == JS_ARRAY_TYPE; 4394 TransitionElementsKindStub stub(isolate(), from_kind, to_kind);
4395 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array);
4396 __ CallStub(&stub); 4395 __ CallStub(&stub);
4397 RecordSafepointWithRegisters( 4396 RecordSafepointWithRegisters(
4398 instr->pointer_map(), 0, Safepoint::kLazyDeopt); 4397 instr->pointer_map(), 0, Safepoint::kLazyDeopt);
4399 } 4398 }
4400 __ bind(&not_applicable); 4399 __ bind(&not_applicable);
4401 } 4400 }
4402 4401
4403 4402
4404 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { 4403 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) {
4405 Register object = ToRegister(instr->object()); 4404 Register object = ToRegister(instr->object());
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
5753 __ ld(result, FieldMemOperand(scratch, 5752 __ ld(result, FieldMemOperand(scratch,
5754 FixedArray::kHeaderSize - kPointerSize)); 5753 FixedArray::kHeaderSize - kPointerSize));
5755 __ bind(deferred->exit()); 5754 __ bind(deferred->exit());
5756 __ bind(&done); 5755 __ bind(&done);
5757 } 5756 }
5758 5757
5759 #undef __ 5758 #undef __
5760 5759
5761 } // namespace internal 5760 } // namespace internal
5762 } // namespace v8 5761 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698