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

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

Issue 7044049: Add boolean flag to HChange and LNumberUntagD to not convert undefined to NaN. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix typo Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 }; 1654 };
1655 1655
1656 1656
1657 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> { 1657 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> {
1658 public: 1658 public:
1659 explicit LNumberUntagD(LOperand* value) { 1659 explicit LNumberUntagD(LOperand* value) {
1660 inputs_[0] = value; 1660 inputs_[0] = value;
1661 } 1661 }
1662 1662
1663 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag") 1663 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag")
1664 DECLARE_HYDROGEN_ACCESSOR(Change)
1664 }; 1665 };
1665 1666
1666 1667
1667 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { 1668 class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
1668 public: 1669 public:
1669 LSmiUntag(LOperand* value, bool needs_check) 1670 LSmiUntag(LOperand* value, bool needs_check)
1670 : needs_check_(needs_check) { 1671 : needs_check_(needs_check) {
1671 inputs_[0] = value; 1672 inputs_[0] = value;
1672 } 1673 }
1673 1674
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
2318 2319
2319 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2320 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2320 }; 2321 };
2321 2322
2322 #undef DECLARE_HYDROGEN_ACCESSOR 2323 #undef DECLARE_HYDROGEN_ACCESSOR
2323 #undef DECLARE_CONCRETE_INSTRUCTION 2324 #undef DECLARE_CONCRETE_INSTRUCTION
2324 2325
2325 } } // namespace v8::internal 2326 } } // namespace v8::internal
2326 2327
2327 #endif // V8_ARM_LITHIUM_ARM_H_ 2328 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698