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

Side by Side Diff: src/ia32/lithium-ia32.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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.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 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after
1698 }; 1698 };
1699 1699
1700 1700
1701 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> { 1701 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> {
1702 public: 1702 public:
1703 explicit LNumberUntagD(LOperand* value) { 1703 explicit LNumberUntagD(LOperand* value) {
1704 inputs_[0] = value; 1704 inputs_[0] = value;
1705 } 1705 }
1706 1706
1707 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag") 1707 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag")
1708 DECLARE_HYDROGEN_ACCESSOR(Change);
1708 }; 1709 };
1709 1710
1710 1711
1711 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { 1712 class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
1712 public: 1713 public:
1713 LSmiUntag(LOperand* value, bool needs_check) 1714 LSmiUntag(LOperand* value, bool needs_check)
1714 : needs_check_(needs_check) { 1715 : needs_check_(needs_check) {
1715 inputs_[0] = value; 1716 inputs_[0] = value;
1716 } 1717 }
1717 1718
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
2363 2364
2364 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2365 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2365 }; 2366 };
2366 2367
2367 #undef DECLARE_HYDROGEN_ACCESSOR 2368 #undef DECLARE_HYDROGEN_ACCESSOR
2368 #undef DECLARE_CONCRETE_INSTRUCTION 2369 #undef DECLARE_CONCRETE_INSTRUCTION
2369 2370
2370 } } // namespace v8::internal 2371 } } // namespace v8::internal
2371 2372
2372 #endif // V8_IA32_LITHIUM_IA32_H_ 2373 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698