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

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: '' Created 10 years 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 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 1207
1208 void HStoreKeyed::PrintDataTo(StringStream* stream) const { 1208 void HStoreKeyed::PrintDataTo(StringStream* stream) const {
1209 object()->PrintNameTo(stream); 1209 object()->PrintNameTo(stream);
1210 stream->Add("["); 1210 stream->Add("[");
1211 key()->PrintNameTo(stream); 1211 key()->PrintNameTo(stream);
1212 stream->Add("] = "); 1212 stream->Add("] = ");
1213 value()->PrintNameTo(stream); 1213 value()->PrintNameTo(stream);
1214 } 1214 }
1215 1215
1216 1216
1217 void HLoadGlobalGeneric::PrintDataTo(StringStream* stream) const {
1218 stream->Add("[");
1219 stream->Add(*name()->ToCString());
1220 stream->Add("]");
1221 }
1222
1223
1217 void HLoadGlobal::PrintDataTo(StringStream* stream) const { 1224 void HLoadGlobal::PrintDataTo(StringStream* stream) const {
1218 stream->Add("[%p]", *cell()); 1225 stream->Add("[%p]", *cell());
1219 if (check_hole_value()) stream->Add(" (deleteable/read-only)"); 1226 if (check_hole_value()) stream->Add(" (deleteable/read-only)");
1220 } 1227 }
1221 1228
1222 1229
1223 void HStoreGlobal::PrintDataTo(StringStream* stream) const { 1230 void HStoreGlobal::PrintDataTo(StringStream* stream) const {
1224 stream->Add("[%p] = ", *cell()); 1231 stream->Add("[%p] = ", *cell());
1225 value()->PrintNameTo(stream); 1232 value()->PrintNameTo(stream);
1226 } 1233 }
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1473 1480
1474 1481
1475 void HCheckPrototypeMaps::Verify() const { 1482 void HCheckPrototypeMaps::Verify() const {
1476 HInstruction::Verify(); 1483 HInstruction::Verify();
1477 ASSERT(HasNoUses()); 1484 ASSERT(HasNoUses());
1478 } 1485 }
1479 1486
1480 #endif 1487 #endif
1481 1488
1482 } } // namespace v8::internal 1489 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698