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

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

Issue 5550003: Add optimized compiler support for generic global loads.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: ported to x64 and 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
« 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 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 1205
1206 void HStoreKeyedFastElement::PrintDataTo(StringStream* stream) { 1206 void HStoreKeyedFastElement::PrintDataTo(StringStream* stream) {
1207 object()->PrintNameTo(stream); 1207 object()->PrintNameTo(stream);
1208 stream->Add("["); 1208 stream->Add("[");
1209 key()->PrintNameTo(stream); 1209 key()->PrintNameTo(stream);
1210 stream->Add("] = "); 1210 stream->Add("] = ");
1211 value()->PrintNameTo(stream); 1211 value()->PrintNameTo(stream);
1212 } 1212 }
1213 1213
1214 1214
1215 void HLoadGlobalGeneric::PrintDataTo(StringStream* stream) {
1216 stream->Add("[");
1217 stream->Add(*name()->ToCString());
1218 stream->Add("]");
1219 }
1220
1221
1215 void HStoreKeyedGeneric::PrintDataTo(StringStream* stream) { 1222 void HStoreKeyedGeneric::PrintDataTo(StringStream* stream) {
1216 object()->PrintNameTo(stream); 1223 object()->PrintNameTo(stream);
1217 stream->Add("["); 1224 stream->Add("[");
1218 key()->PrintNameTo(stream); 1225 key()->PrintNameTo(stream);
1219 stream->Add("] = "); 1226 stream->Add("] = ");
1220 value()->PrintNameTo(stream); 1227 value()->PrintNameTo(stream);
1221 } 1228 }
1222 1229
1223 1230
1224 void HStorePixelArrayElement::PrintDataTo(StringStream* stream) { 1231 void HStorePixelArrayElement::PrintDataTo(StringStream* stream) {
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 1514
1508 1515
1509 void HCheckPrototypeMaps::Verify() { 1516 void HCheckPrototypeMaps::Verify() {
1510 HInstruction::Verify(); 1517 HInstruction::Verify();
1511 ASSERT(HasNoUses()); 1518 ASSERT(HasNoUses());
1512 } 1519 }
1513 1520
1514 #endif 1521 #endif
1515 1522
1516 } } // namespace v8::internal 1523 } } // 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