| 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/crankshaft/arm64/lithium-arm64.h" | 5 #include "src/crankshaft/arm64/lithium-arm64.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" | 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" |
| 10 #include "src/crankshaft/hydrogen-osr.h" | 10 #include "src/crankshaft/hydrogen-osr.h" |
| (...skipping 1894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1905 AddInstruction(push_args, instr); | 1905 AddInstruction(push_args, instr); |
| 1906 push_args = new(zone()) LPushArguments(zone()); | 1906 push_args = new(zone()) LPushArguments(zone()); |
| 1907 } | 1907 } |
| 1908 push_args->AddArgument(UseRegister(instr->argument(i))); | 1908 push_args->AddArgument(UseRegister(instr->argument(i))); |
| 1909 } | 1909 } |
| 1910 | 1910 |
| 1911 return push_args; | 1911 return push_args; |
| 1912 } | 1912 } |
| 1913 | 1913 |
| 1914 | 1914 |
| 1915 LInstruction* LChunkBuilder::DoDoubleBits(HDoubleBits* instr) { | |
| 1916 HValue* value = instr->value(); | |
| 1917 DCHECK(value->representation().IsDouble()); | |
| 1918 return DefineAsRegister(new(zone()) LDoubleBits(UseRegister(value))); | |
| 1919 } | |
| 1920 | |
| 1921 | |
| 1922 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { | 1915 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { |
| 1923 LOperand* context = info()->IsStub() | 1916 LOperand* context = info()->IsStub() |
| 1924 ? UseFixed(instr->context(), cp) | 1917 ? UseFixed(instr->context(), cp) |
| 1925 : NULL; | 1918 : NULL; |
| 1926 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count()); | 1919 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count()); |
| 1927 return new(zone()) LReturn(UseFixed(instr->value(), x0), context, | 1920 return new(zone()) LReturn(UseFixed(instr->value(), x0), context, |
| 1928 parameter_count); | 1921 parameter_count); |
| 1929 } | 1922 } |
| 1930 | 1923 |
| 1931 | 1924 |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2592 | 2585 |
| 2593 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 2586 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
| 2594 LOperand* receiver = UseRegister(instr->receiver()); | 2587 LOperand* receiver = UseRegister(instr->receiver()); |
| 2595 LOperand* function = UseRegister(instr->function()); | 2588 LOperand* function = UseRegister(instr->function()); |
| 2596 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); | 2589 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
| 2597 return AssignEnvironment(DefineAsRegister(result)); | 2590 return AssignEnvironment(DefineAsRegister(result)); |
| 2598 } | 2591 } |
| 2599 | 2592 |
| 2600 } // namespace internal | 2593 } // namespace internal |
| 2601 } // namespace v8 | 2594 } // namespace v8 |
| OLD | NEW |