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

Side by Side Diff: src/hydrogen-instructions.cc

Issue 7027029: Revert r8140. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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/hydrogen-instructions.h ('k') | src/ia32/lithium-ia32.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 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 stream->Add(" push "); 1076 stream->Add(" push ");
1077 } else { 1077 } else {
1078 stream->Add(" var[%d] = ", GetAssignedIndexAt(i)); 1078 stream->Add(" var[%d] = ", GetAssignedIndexAt(i));
1079 } 1079 }
1080 values_[i]->PrintNameTo(stream); 1080 values_[i]->PrintNameTo(stream);
1081 } 1081 }
1082 } 1082 }
1083 } 1083 }
1084 1084
1085 1085
1086 void HDeoptimize::PrintDataTo(StringStream* stream) {
1087 if (OperandCount() == 0) return;
1088 OperandAt(0)->PrintNameTo(stream);
1089 for (int i = 1; i < OperandCount(); ++i) {
1090 stream->Add(" ");
1091 OperandAt(i)->PrintNameTo(stream);
1092 }
1093 }
1094
1095
1096 void HEnterInlined::PrintDataTo(StringStream* stream) { 1086 void HEnterInlined::PrintDataTo(StringStream* stream) {
1097 SmartPointer<char> name = function()->debug_name()->ToCString(); 1087 SmartPointer<char> name = function()->debug_name()->ToCString();
1098 stream->Add("%s, id=%d", *name, function()->id()); 1088 stream->Add("%s, id=%d", *name, function()->id());
1099 } 1089 }
1100 1090
1101 1091
1102 HConstant::HConstant(Handle<Object> handle, Representation r) 1092 HConstant::HConstant(Handle<Object> handle, Representation r)
1103 : handle_(handle), 1093 : handle_(handle),
1104 has_int32_value_(false), 1094 has_int32_value_(false),
1105 has_double_value_(false), 1095 has_double_value_(false),
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
1769 1759
1770 1760
1771 void HCheckPrototypeMaps::Verify() { 1761 void HCheckPrototypeMaps::Verify() {
1772 HInstruction::Verify(); 1762 HInstruction::Verify();
1773 ASSERT(HasNoUses()); 1763 ASSERT(HasNoUses());
1774 } 1764 }
1775 1765
1776 #endif 1766 #endif
1777 1767
1778 } } // namespace v8::internal 1768 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698