OLD | NEW |
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 Loading... |
4446 instr->pointer_map(), 0, Safepoint::kLazyDeopt); | 4446 instr->pointer_map(), 0, Safepoint::kLazyDeopt); |
4447 } | 4447 } |
4448 __ bind(¬_applicable); | 4448 __ bind(¬_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 Loading... |
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 |
OLD | NEW |