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

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

Issue 7134067: Merge r8237 to V8 3.2 branch. Fix bug v8:1434, optimized compare of undefined can fail. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.2/
Patch Set: '' 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/x64/lithium-codegen-x64.cc ('k') | test/mjsunit/regress/regress-1434.js » ('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 1541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 }; 1552 };
1553 1553
1554 1554
1555 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> { 1555 class LNumberUntagD: public LTemplateInstruction<1, 1, 0> {
1556 public: 1556 public:
1557 explicit LNumberUntagD(LOperand* value) { 1557 explicit LNumberUntagD(LOperand* value) {
1558 inputs_[0] = value; 1558 inputs_[0] = value;
1559 } 1559 }
1560 1560
1561 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag") 1561 DECLARE_CONCRETE_INSTRUCTION(NumberUntagD, "double-untag")
1562 DECLARE_HYDROGEN_ACCESSOR(Change);
1562 }; 1563 };
1563 1564
1564 1565
1565 class LSmiUntag: public LTemplateInstruction<1, 1, 0> { 1566 class LSmiUntag: public LTemplateInstruction<1, 1, 0> {
1566 public: 1567 public:
1567 LSmiUntag(LOperand* value, bool needs_check) 1568 LSmiUntag(LOperand* value, bool needs_check)
1568 : needs_check_(needs_check) { 1569 : needs_check_(needs_check) {
1569 inputs_[0] = value; 1570 inputs_[0] = value;
1570 } 1571 }
1571 1572
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
2156 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2157 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2157 }; 2158 };
2158 2159
2159 #undef DECLARE_HYDROGEN_ACCESSOR 2160 #undef DECLARE_HYDROGEN_ACCESSOR
2160 #undef DECLARE_INSTRUCTION 2161 #undef DECLARE_INSTRUCTION
2161 #undef DECLARE_CONCRETE_INSTRUCTION 2162 #undef DECLARE_CONCRETE_INSTRUCTION
2162 2163
2163 } } // namespace v8::int 2164 } } // namespace v8::int
2164 2165
2165 #endif // V8_X64_LITHIUM_X64_H_ 2166 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | test/mjsunit/regress/regress-1434.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698