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

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

Issue 1845463003: Remove usages of Heap::NewSpaceStart and its external reference (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Only use 1 constant, reordered checks a bit to have earlier bail outs for old space 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
« no previous file with comments | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | src/external-reference-table.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 4435 matching lines...) Expand 10 before | Expand all | Expand 10 after
4446 instr->pointer_map(), 0, Safepoint::kLazyDeopt); 4446 instr->pointer_map(), 0, Safepoint::kLazyDeopt);
4447 } 4447 }
4448 __ bind(&not_applicable); 4448 __ bind(&not_applicable);
4449 } 4449 }
4450 4450
4451 4451
4452 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { 4452 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) {
4453 Register object = ToRegister(instr->object()); 4453 Register object = ToRegister(instr->object());
4454 Register temp = ToRegister(instr->temp()); 4454 Register temp = ToRegister(instr->temp());
4455 Label no_memento_found; 4455 Label no_memento_found;
4456 __ TestJSArrayForAllocationMemento(object, temp, &no_memento_found, 4456 __ TestJSArrayForAllocationMemento(object, temp, &no_memento_found);
4457 ne, &no_memento_found);
4458 DeoptimizeIf(al, instr, Deoptimizer::kMementoFound); 4457 DeoptimizeIf(al, instr, Deoptimizer::kMementoFound);
4459 __ bind(&no_memento_found); 4458 __ bind(&no_memento_found);
4460 } 4459 }
4461 4460
4462 4461
4463 void LCodeGen::DoStringAdd(LStringAdd* instr) { 4462 void LCodeGen::DoStringAdd(LStringAdd* instr) {
4464 DCHECK(ToRegister(instr->context()).is(cp)); 4463 DCHECK(ToRegister(instr->context()).is(cp));
4465 DCHECK(ToRegister(instr->left()).is(a1)); 4464 DCHECK(ToRegister(instr->left()).is(a1));
4466 DCHECK(ToRegister(instr->right()).is(a0)); 4465 DCHECK(ToRegister(instr->right()).is(a0));
4467 StringAddStub stub(isolate(), 4466 StringAddStub stub(isolate(),
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
5757 __ ld(result, FieldMemOperand(scratch, 5756 __ ld(result, FieldMemOperand(scratch,
5758 FixedArray::kHeaderSize - kPointerSize)); 5757 FixedArray::kHeaderSize - kPointerSize));
5759 __ bind(deferred->exit()); 5758 __ bind(deferred->exit());
5760 __ bind(&done); 5759 __ bind(&done);
5761 } 5760 }
5762 5761
5763 #undef __ 5762 #undef __
5764 5763
5765 } // namespace internal 5764 } // namespace internal
5766 } // namespace v8 5765 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | src/external-reference-table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698