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

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

Issue 6410112: Implement crankshaft support for pixel array loads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ia32 working Created 9 years, 10 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 1146
1147 1147
1148 void HLoadKeyed::PrintDataTo(StringStream* stream) const { 1148 void HLoadKeyed::PrintDataTo(StringStream* stream) const {
1149 object()->PrintNameTo(stream); 1149 object()->PrintNameTo(stream);
1150 stream->Add("["); 1150 stream->Add("[");
1151 key()->PrintNameTo(stream); 1151 key()->PrintNameTo(stream);
1152 stream->Add("]"); 1152 stream->Add("]");
1153 } 1153 }
1154 1154
1155 1155
1156 void HLoadPixelArrayElement::PrintDataTo(StringStream* stream) const {
1157 external_pointer()->PrintNameTo(stream);
1158 stream->Add("[");
1159 key()->PrintNameTo(stream);
1160 stream->Add("]");
1161 }
1162
1163
1156 void HStoreNamed::PrintDataTo(StringStream* stream) const { 1164 void HStoreNamed::PrintDataTo(StringStream* stream) const {
1157 object()->PrintNameTo(stream); 1165 object()->PrintNameTo(stream);
1158 stream->Add("."); 1166 stream->Add(".");
1159 ASSERT(name()->IsString()); 1167 ASSERT(name()->IsString());
1160 stream->Add(*String::cast(*name())->ToCString()); 1168 stream->Add(*String::cast(*name())->ToCString());
1161 stream->Add(" = "); 1169 stream->Add(" = ");
1162 value()->PrintNameTo(stream); 1170 value()->PrintNameTo(stream);
1163 } 1171 }
1164 1172
1165 1173
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 1465
1458 1466
1459 void HCheckPrototypeMaps::Verify() { 1467 void HCheckPrototypeMaps::Verify() {
1460 HInstruction::Verify(); 1468 HInstruction::Verify();
1461 ASSERT(HasNoUses()); 1469 ASSERT(HasNoUses());
1462 } 1470 }
1463 1471
1464 #endif 1472 #endif
1465 1473
1466 } } // namespace v8::internal 1474 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698