OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/arm64/frames-arm64.h" | 5 #include "src/arm64/frames-arm64.h" |
6 #include "src/arm64/lithium-codegen-arm64.h" | 6 #include "src/arm64/lithium-codegen-arm64.h" |
7 #include "src/arm64/lithium-gap-resolver-arm64.h" | 7 #include "src/arm64/lithium-gap-resolver-arm64.h" |
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 2792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2803 DeoptimizeIf(ne, instr, Deoptimizer::kLostPrecisionOrNaN); | 2803 DeoptimizeIf(ne, instr, Deoptimizer::kLostPrecisionOrNaN); |
2804 | 2804 |
2805 if (instr->tag_result()) { | 2805 if (instr->tag_result()) { |
2806 __ SmiTag(result.X()); | 2806 __ SmiTag(result.X()); |
2807 } | 2807 } |
2808 } | 2808 } |
2809 | 2809 |
2810 | 2810 |
2811 void LCodeGen::DoDrop(LDrop* instr) { | 2811 void LCodeGen::DoDrop(LDrop* instr) { |
2812 __ Drop(instr->count()); | 2812 __ Drop(instr->count()); |
| 2813 |
| 2814 RecordPushedArgumentsDelta(instr->hydrogen_value()->argument_delta()); |
2813 } | 2815 } |
2814 | 2816 |
2815 | 2817 |
2816 void LCodeGen::DoDummy(LDummy* instr) { | 2818 void LCodeGen::DoDummy(LDummy* instr) { |
2817 // Nothing to see here, move on! | 2819 // Nothing to see here, move on! |
2818 } | 2820 } |
2819 | 2821 |
2820 | 2822 |
2821 void LCodeGen::DoDummyUse(LDummyUse* instr) { | 2823 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
2822 // Nothing to see here, move on! | 2824 // Nothing to see here, move on! |
(...skipping 3182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6005 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6007 Handle<ScopeInfo> scope_info = instr->scope_info(); |
6006 __ Push(scope_info); | 6008 __ Push(scope_info); |
6007 __ Push(ToRegister(instr->function())); | 6009 __ Push(ToRegister(instr->function())); |
6008 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6010 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
6009 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6011 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6010 } | 6012 } |
6011 | 6013 |
6012 | 6014 |
6013 } // namespace internal | 6015 } // namespace internal |
6014 } // namespace v8 | 6016 } // namespace v8 |
OLD | NEW |