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/hydrogen-instructions.cc

Issue 6656001: Support external arrays in Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: stub out arm Created 9 years, 9 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
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 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 1165
1166 1166
1167 void HLoadKeyedGeneric::PrintDataTo(StringStream* stream) { 1167 void HLoadKeyedGeneric::PrintDataTo(StringStream* stream) {
1168 object()->PrintNameTo(stream); 1168 object()->PrintNameTo(stream);
1169 stream->Add("["); 1169 stream->Add("[");
1170 key()->PrintNameTo(stream); 1170 key()->PrintNameTo(stream);
1171 stream->Add("]"); 1171 stream->Add("]");
1172 } 1172 }
1173 1173
1174 1174
1175 void HLoadPixelArrayElement::PrintDataTo(StringStream* stream) { 1175 void HLoadKeyedSpecializedArrayElement::PrintDataTo(
1176 StringStream* stream) {
1176 external_pointer()->PrintNameTo(stream); 1177 external_pointer()->PrintNameTo(stream);
Kevin Millikin (Chromium) 2011/03/24 11:21:00 It might be useful to print a string representatio
danno 2011/03/24 13:18:38 Done.
1177 stream->Add("["); 1178 stream->Add("[");
1178 key()->PrintNameTo(stream); 1179 key()->PrintNameTo(stream);
1179 stream->Add("]"); 1180 stream->Add("]");
1180 } 1181 }
1181 1182
1182 1183
1183 void HStoreNamedGeneric::PrintDataTo(StringStream* stream) { 1184 void HStoreNamedGeneric::PrintDataTo(StringStream* stream) {
1184 object()->PrintNameTo(stream); 1185 object()->PrintNameTo(stream);
1185 stream->Add("."); 1186 stream->Add(".");
1186 ASSERT(name()->IsString()); 1187 ASSERT(name()->IsString());
(...skipping 27 matching lines...) Expand all
1214 1215
1215 void HStoreKeyedGeneric::PrintDataTo(StringStream* stream) { 1216 void HStoreKeyedGeneric::PrintDataTo(StringStream* stream) {
1216 object()->PrintNameTo(stream); 1217 object()->PrintNameTo(stream);
1217 stream->Add("["); 1218 stream->Add("[");
1218 key()->PrintNameTo(stream); 1219 key()->PrintNameTo(stream);
1219 stream->Add("] = "); 1220 stream->Add("] = ");
1220 value()->PrintNameTo(stream); 1221 value()->PrintNameTo(stream);
1221 } 1222 }
1222 1223
1223 1224
1224 void HStorePixelArrayElement::PrintDataTo(StringStream* stream) { 1225 void HStoreKeyedSpecializedArrayElement::PrintDataTo(
1226 StringStream* stream) {
1225 external_pointer()->PrintNameTo(stream); 1227 external_pointer()->PrintNameTo(stream);
1226 stream->Add("["); 1228 stream->Add("[");
1227 key()->PrintNameTo(stream); 1229 key()->PrintNameTo(stream);
1228 stream->Add("] = "); 1230 stream->Add("] = ");
1229 value()->PrintNameTo(stream); 1231 value()->PrintNameTo(stream);
1230 } 1232 }
1231 1233
1232 1234
1233 void HLoadGlobal::PrintDataTo(StringStream* stream) { 1235 void HLoadGlobal::PrintDataTo(StringStream* stream) {
1234 stream->Add("[%p]", *cell()); 1236 stream->Add("[%p]", *cell());
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 1509
1508 1510
1509 void HCheckPrototypeMaps::Verify() { 1511 void HCheckPrototypeMaps::Verify() {
1510 HInstruction::Verify(); 1512 HInstruction::Verify();
1511 ASSERT(HasNoUses()); 1513 ASSERT(HasNoUses());
1512 } 1514 }
1513 1515
1514 #endif 1516 #endif
1515 1517
1516 } } // namespace v8::internal 1518 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698