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

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

Issue 113343003: Remove the last remnants of the TranscendentalCache. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed mod_two_doubles. Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 LOperand* context = (r.IsDouble() || r.IsSmiOrInteger32()) 1217 LOperand* context = (r.IsDouble() || r.IsSmiOrInteger32())
1218 ? NULL 1218 ? NULL
1219 : UseFixed(instr->context(), cp); 1219 : UseFixed(instr->context(), cp);
1220 LOperand* input = UseRegister(instr->value()); 1220 LOperand* input = UseRegister(instr->value());
1221 LMathAbs* result = new(zone()) LMathAbs(context, input); 1221 LMathAbs* result = new(zone()) LMathAbs(context, input);
1222 return AssignEnvironment(AssignPointerMap(DefineAsRegister(result))); 1222 return AssignEnvironment(AssignPointerMap(DefineAsRegister(result)));
1223 } 1223 }
1224 1224
1225 1225
1226 LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) { 1226 LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) {
1227 LOperand* input = UseFixedDouble(instr->value(), d2); 1227 LOperand* input = UseFixedDouble(instr->value(), d0);
1228 LMathLog* result = new(zone()) LMathLog(input); 1228 return DefineAsRegister(new(zone()) LMathLog(input));
m.m.capewell 2013/12/16 11:44:54 Should this be MarkAsCall()? I can't see how calle
Sven Panne 2013/12/16 13:30:28 Good point, this problem is in the other platform
1229 return MarkAsCall(DefineFixedDouble(result, d2), instr);
1230 } 1229 }
1231 1230
1232 1231
1233 LInstruction* LChunkBuilder::DoMathExp(HUnaryMathOperation* instr) { 1232 LInstruction* LChunkBuilder::DoMathExp(HUnaryMathOperation* instr) {
1234 ASSERT(instr->representation().IsDouble()); 1233 ASSERT(instr->representation().IsDouble());
1235 ASSERT(instr->value()->representation().IsDouble()); 1234 ASSERT(instr->value()->representation().IsDouble());
1236 LOperand* input = UseRegister(instr->value()); 1235 LOperand* input = UseRegister(instr->value());
1237 LOperand* temp1 = TempRegister(); 1236 LOperand* temp1 = TempRegister();
1238 LOperand* temp2 = TempRegister(); 1237 LOperand* temp2 = TempRegister();
1239 LOperand* double_temp = FixedTemp(d3); // Chosen by fair dice roll. 1238 LOperand* double_temp = FixedTemp(d3); // Chosen by fair dice roll.
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 } 2646 }
2648 2647
2649 2648
2650 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2649 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2651 LOperand* object = UseRegister(instr->object()); 2650 LOperand* object = UseRegister(instr->object());
2652 LOperand* index = UseRegister(instr->index()); 2651 LOperand* index = UseRegister(instr->index());
2653 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2652 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2654 } 2653 }
2655 2654
2656 } } // namespace v8::internal 2655 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698