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

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: merge with latest 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
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-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 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after
1228 1228
1229 1229
1230 void HLoadKeyed::PrintDataTo(StringStream* stream) const { 1230 void HLoadKeyed::PrintDataTo(StringStream* stream) const {
1231 object()->PrintNameTo(stream); 1231 object()->PrintNameTo(stream);
1232 stream->Add("["); 1232 stream->Add("[");
1233 key()->PrintNameTo(stream); 1233 key()->PrintNameTo(stream);
1234 stream->Add("]"); 1234 stream->Add("]");
1235 } 1235 }
1236 1236
1237 1237
1238 void HLoadPixelArrayElement::PrintDataTo(StringStream* stream) const {
1239 external_pointer()->PrintNameTo(stream);
1240 stream->Add("[");
1241 key()->PrintNameTo(stream);
1242 stream->Add("]");
1243 }
1244
1245
1238 void HStoreNamed::PrintDataTo(StringStream* stream) const { 1246 void HStoreNamed::PrintDataTo(StringStream* stream) const {
1239 object()->PrintNameTo(stream); 1247 object()->PrintNameTo(stream);
1240 stream->Add("."); 1248 stream->Add(".");
1241 ASSERT(name()->IsString()); 1249 ASSERT(name()->IsString());
1242 stream->Add(*String::cast(*name())->ToCString()); 1250 stream->Add(*String::cast(*name())->ToCString());
1243 stream->Add(" = "); 1251 stream->Add(" = ");
1244 value()->PrintNameTo(stream); 1252 value()->PrintNameTo(stream);
1245 } 1253 }
1246 1254
1247 1255
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 1547
1540 1548
1541 void HCheckPrototypeMaps::Verify() { 1549 void HCheckPrototypeMaps::Verify() {
1542 HInstruction::Verify(); 1550 HInstruction::Verify();
1543 ASSERT(HasNoUses()); 1551 ASSERT(HasNoUses());
1544 } 1552 }
1545 1553
1546 #endif 1554 #endif
1547 1555
1548 } } // namespace v8::internal 1556 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698