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

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

Issue 1848003002: s390: Remove usages of Heap::NewSpaceStart and its external reference (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add kNear 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 | « no previous file | src/crankshaft/s390/lithium-s390.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include "src/crankshaft/s390/lithium-codegen-s390.h" 6 #include "src/crankshaft/s390/lithium-codegen-s390.h"
7 7
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4422 matching lines...) Expand 10 before | Expand all | Expand 10 after
4433 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); 4433 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array);
4434 __ CallStub(&stub); 4434 __ CallStub(&stub);
4435 RecordSafepointWithRegisters(instr->pointer_map(), 0, 4435 RecordSafepointWithRegisters(instr->pointer_map(), 0,
4436 Safepoint::kLazyDeopt); 4436 Safepoint::kLazyDeopt);
4437 } 4437 }
4438 __ bind(&not_applicable); 4438 __ bind(&not_applicable);
4439 } 4439 }
4440 4440
4441 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { 4441 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) {
4442 Register object = ToRegister(instr->object()); 4442 Register object = ToRegister(instr->object());
4443 Register temp = ToRegister(instr->temp()); 4443 Register temp1 = ToRegister(instr->temp1());
4444 Register temp2 = ToRegister(instr->temp2());
4444 Label no_memento_found; 4445 Label no_memento_found;
4445 __ TestJSArrayForAllocationMemento(object, temp, &no_memento_found); 4446 __ TestJSArrayForAllocationMemento(object, temp1, temp2, &no_memento_found);
4446 DeoptimizeIf(eq, instr, Deoptimizer::kMementoFound); 4447 DeoptimizeIf(eq, instr, Deoptimizer::kMementoFound);
4447 __ bind(&no_memento_found); 4448 __ bind(&no_memento_found);
4448 } 4449 }
4449 4450
4450 void LCodeGen::DoStringAdd(LStringAdd* instr) { 4451 void LCodeGen::DoStringAdd(LStringAdd* instr) {
4451 DCHECK(ToRegister(instr->context()).is(cp)); 4452 DCHECK(ToRegister(instr->context()).is(cp));
4452 DCHECK(ToRegister(instr->left()).is(r3)); 4453 DCHECK(ToRegister(instr->left()).is(r3));
4453 DCHECK(ToRegister(instr->right()).is(r2)); 4454 DCHECK(ToRegister(instr->right()).is(r2));
4454 StringAddStub stub(isolate(), instr->hydrogen()->flags(), 4455 StringAddStub stub(isolate(), instr->hydrogen()->flags(),
4455 instr->hydrogen()->pretenure_flag()); 4456 instr->hydrogen()->pretenure_flag());
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
5660 __ LoadP(result, 5661 __ LoadP(result,
5661 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize)); 5662 FieldMemOperand(scratch, FixedArray::kHeaderSize - kPointerSize));
5662 __ bind(deferred->exit()); 5663 __ bind(deferred->exit());
5663 __ bind(&done); 5664 __ bind(&done);
5664 } 5665 }
5665 5666
5666 #undef __ 5667 #undef __
5667 5668
5668 } // namespace internal 5669 } // namespace internal
5669 } // namespace v8 5670 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/crankshaft/s390/lithium-s390.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698