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

Side by Side Diff: src/crankshaft/arm/lithium-arm.cc

Issue 2083453002: [builtins] Introduce proper Float64Tan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/arm/lithium-arm.h ('k') | src/crankshaft/arm/lithium-codegen-arm.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/arm/lithium-arm.h" 5 #include "src/crankshaft/arm/lithium-arm.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" 9 #include "src/crankshaft/arm/lithium-codegen-arm.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 1969 matching lines...) Expand 10 before | Expand all | Expand 10 after
1980 } 1980 }
1981 1981
1982 1982
1983 LInstruction* LChunkBuilder::DoDoubleBits(HDoubleBits* instr) { 1983 LInstruction* LChunkBuilder::DoDoubleBits(HDoubleBits* instr) {
1984 HValue* value = instr->value(); 1984 HValue* value = instr->value();
1985 DCHECK(value->representation().IsDouble()); 1985 DCHECK(value->representation().IsDouble());
1986 return DefineAsRegister(new(zone()) LDoubleBits(UseRegister(value))); 1986 return DefineAsRegister(new(zone()) LDoubleBits(UseRegister(value)));
1987 } 1987 }
1988 1988
1989 1989
1990 LInstruction* LChunkBuilder::DoConstructDouble(HConstructDouble* instr) {
1991 LOperand* lo = UseRegister(instr->lo());
1992 LOperand* hi = UseRegister(instr->hi());
1993 return DefineAsRegister(new(zone()) LConstructDouble(hi, lo));
1994 }
1995
1996
1997 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { 1990 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) {
1998 LOperand* context = info()->IsStub() 1991 LOperand* context = info()->IsStub()
1999 ? UseFixed(instr->context(), cp) 1992 ? UseFixed(instr->context(), cp)
2000 : NULL; 1993 : NULL;
2001 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count()); 1994 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count());
2002 return new(zone()) LReturn(UseFixed(instr->value(), r0), context, 1995 return new(zone()) LReturn(UseFixed(instr->value(), r0), context,
2003 parameter_count); 1996 parameter_count);
2004 } 1997 }
2005 1998
2006 1999
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
2513 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2506 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2514 LOperand* object = UseRegister(instr->object()); 2507 LOperand* object = UseRegister(instr->object());
2515 LOperand* index = UseTempRegister(instr->index()); 2508 LOperand* index = UseTempRegister(instr->index());
2516 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); 2509 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index);
2517 LInstruction* result = DefineSameAsFirst(load); 2510 LInstruction* result = DefineSameAsFirst(load);
2518 return AssignPointerMap(result); 2511 return AssignPointerMap(result);
2519 } 2512 }
2520 2513
2521 } // namespace internal 2514 } // namespace internal
2522 } // namespace v8 2515 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-arm.h ('k') | src/crankshaft/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698