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

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

Issue 5788001: ARM: Fix heap number allocation in lithium-codegen-arm that assumed... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 | « no previous file | src/arm/lithium-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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 class LNumberTagI: public LUnaryOperation { 1388 class LNumberTagI: public LUnaryOperation {
1389 public: 1389 public:
1390 explicit LNumberTagI(LOperand* use) : LUnaryOperation(use) { } 1390 explicit LNumberTagI(LOperand* use) : LUnaryOperation(use) { }
1391 1391
1392 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") 1392 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
1393 }; 1393 };
1394 1394
1395 1395
1396 class LNumberTagD: public LUnaryOperation { 1396 class LNumberTagD: public LUnaryOperation {
1397 public: 1397 public:
1398 explicit LNumberTagD(LOperand* value, LOperand* temp) 1398 explicit LNumberTagD(LOperand* value, LOperand* temp1, LOperand* temp2)
1399 : LUnaryOperation(value), temp_(temp) { } 1399 : LUnaryOperation(value), temp1_(temp1), temp2_(temp2) { }
1400 1400
1401 DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d") 1401 DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d")
1402 1402
1403 LOperand* temp() const { return temp_; } 1403 LOperand* temp1() const { return temp1_; }
1404 LOperand* temp2() const { return temp2_; }
1404 1405
1405 private: 1406 private:
1406 LOperand* temp_; 1407 LOperand* temp1_;
1408 LOperand* temp2_;
1407 }; 1409 };
1408 1410
1409 1411
1410 // Sometimes truncating conversion from a tagged value to an int32. 1412 // Sometimes truncating conversion from a tagged value to an int32.
1411 class LDoubleToI: public LUnaryOperation { 1413 class LDoubleToI: public LUnaryOperation {
1412 public: 1414 public:
1413 explicit LDoubleToI(LOperand* value) : LUnaryOperation(value) { } 1415 explicit LDoubleToI(LOperand* value) : LUnaryOperation(value) { }
1414 1416
1415 DECLARE_CONCRETE_INSTRUCTION(DoubleToI, "double-to-i") 1417 DECLARE_CONCRETE_INSTRUCTION(DoubleToI, "double-to-i")
1416 DECLARE_HYDROGEN_ACCESSOR(Change) 1418 DECLARE_HYDROGEN_ACCESSOR(Change)
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2060 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2059 }; 2061 };
2060 2062
2061 #undef DECLARE_HYDROGEN_ACCESSOR 2063 #undef DECLARE_HYDROGEN_ACCESSOR
2062 #undef DECLARE_INSTRUCTION 2064 #undef DECLARE_INSTRUCTION
2063 #undef DECLARE_CONCRETE_INSTRUCTION 2065 #undef DECLARE_CONCRETE_INSTRUCTION
2064 2066
2065 } } // namespace v8::internal 2067 } } // namespace v8::internal
2066 2068
2067 #endif // V8_ARM_LITHIUM_ARM_H_ 2069 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698