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

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

Issue 22152003: Never hchange nan-hole to hole or hole to nan-hole. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also change in header Created 7 years, 4 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/arm/lithium-arm.h ('k') | 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 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 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after
1726 1726
1727 1727
1728 LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch( 1728 LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch(
1729 HCompareObjectEqAndBranch* instr) { 1729 HCompareObjectEqAndBranch* instr) {
1730 LOperand* left = UseRegisterAtStart(instr->left()); 1730 LOperand* left = UseRegisterAtStart(instr->left());
1731 LOperand* right = UseRegisterAtStart(instr->right()); 1731 LOperand* right = UseRegisterAtStart(instr->right());
1732 return new(zone()) LCmpObjectEqAndBranch(left, right); 1732 return new(zone()) LCmpObjectEqAndBranch(left, right);
1733 } 1733 }
1734 1734
1735 1735
1736 LInstruction* LChunkBuilder::DoCompareHoleAndBranch(
1737 HCompareHoleAndBranch* instr) {
1738 LOperand* object = UseRegisterAtStart(instr->object());
1739 return new(zone()) LCmpHoleAndBranch(object);
1740 }
1741
1742
1736 LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) { 1743 LInstruction* LChunkBuilder::DoIsObjectAndBranch(HIsObjectAndBranch* instr) {
1737 ASSERT(instr->value()->representation().IsTagged()); 1744 ASSERT(instr->value()->representation().IsTagged());
1738 LOperand* value = UseRegisterAtStart(instr->value()); 1745 LOperand* value = UseRegisterAtStart(instr->value());
1739 LOperand* temp = TempRegister(); 1746 LOperand* temp = TempRegister();
1740 return new(zone()) LIsObjectAndBranch(value, temp); 1747 return new(zone()) LIsObjectAndBranch(value, temp);
1741 } 1748 }
1742 1749
1743 1750
1744 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) { 1751 LInstruction* LChunkBuilder::DoIsStringAndBranch(HIsStringAndBranch* instr) {
1745 ASSERT(instr->value()->representation().IsTagged()); 1752 ASSERT(instr->value()->representation().IsTagged());
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
2609 2616
2610 2617
2611 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2618 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2612 LOperand* object = UseRegister(instr->object()); 2619 LOperand* object = UseRegister(instr->object());
2613 LOperand* index = UseRegister(instr->index()); 2620 LOperand* index = UseRegister(instr->index());
2614 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2621 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2615 } 2622 }
2616 2623
2617 2624
2618 } } // namespace v8::internal 2625 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698