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

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

Issue 6760027: Revert "Made test.py not mention the defunct --crankshaft flag." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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') | src/x64/macro-assembler-x64.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 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 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 if (from.IsTagged()) { 1606 if (from.IsTagged()) {
1607 if (to.IsDouble()) { 1607 if (to.IsDouble()) {
1608 LOperand* value = UseRegister(instr->value()); 1608 LOperand* value = UseRegister(instr->value());
1609 LNumberUntagD* res = new LNumberUntagD(value); 1609 LNumberUntagD* res = new LNumberUntagD(value);
1610 return AssignEnvironment(DefineAsRegister(res)); 1610 return AssignEnvironment(DefineAsRegister(res));
1611 } else { 1611 } else {
1612 ASSERT(to.IsInteger32()); 1612 ASSERT(to.IsInteger32());
1613 LOperand* value = UseRegister(instr->value()); 1613 LOperand* value = UseRegister(instr->value());
1614 bool needs_check = !instr->value()->type().IsSmi(); 1614 bool needs_check = !instr->value()->type().IsSmi();
1615 if (needs_check) { 1615 if (needs_check) {
1616 LOperand* xmm_temp = instr->CanTruncateToInt32() ? NULL 1616 LOperand* xmm_temp =
1617 : FixedTemp(xmm1); 1617 (instr->CanTruncateToInt32() && CpuFeatures::IsSupported(SSE3))
1618 ? NULL
1619 : FixedTemp(xmm1);
1618 LTaggedToI* res = new LTaggedToI(value, xmm_temp); 1620 LTaggedToI* res = new LTaggedToI(value, xmm_temp);
1619 return AssignEnvironment(DefineSameAsFirst(res)); 1621 return AssignEnvironment(DefineSameAsFirst(res));
1620 } else { 1622 } else {
1621 return DefineSameAsFirst(new LSmiUntag(value, needs_check)); 1623 return DefineSameAsFirst(new LSmiUntag(value, needs_check));
1622 } 1624 }
1623 } 1625 }
1624 } else if (from.IsDouble()) { 1626 } else if (from.IsDouble()) {
1625 if (to.IsTagged()) { 1627 if (to.IsTagged()) {
1626 LOperand* value = UseRegister(instr->value()); 1628 LOperand* value = UseRegister(instr->value());
1627 LOperand* temp = TempRegister(); 1629 LOperand* temp = TempRegister();
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
2099 2101
2100 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2102 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2101 HEnvironment* outer = current_block_->last_environment()->outer(); 2103 HEnvironment* outer = current_block_->last_environment()->outer();
2102 current_block_->UpdateEnvironment(outer); 2104 current_block_->UpdateEnvironment(outer);
2103 return NULL; 2105 return NULL;
2104 } 2106 }
2105 2107
2106 } } // namespace v8::internal 2108 } } // namespace v8::internal
2107 2109
2108 #endif // V8_TARGET_ARCH_X64 2110 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698