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

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

Issue 6693066: Extend crankshaft support for global stores (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments Created 9 years, 8 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 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 stream->Add("[%p]", *cell()); 1346 stream->Add("[%p]", *cell());
1347 if (check_hole_value()) stream->Add(" (deleteable/read-only)"); 1347 if (check_hole_value()) stream->Add(" (deleteable/read-only)");
1348 } 1348 }
1349 1349
1350 1350
1351 void HLoadGlobalGeneric::PrintDataTo(StringStream* stream) { 1351 void HLoadGlobalGeneric::PrintDataTo(StringStream* stream) {
1352 stream->Add("%o ", *name()); 1352 stream->Add("%o ", *name());
1353 } 1353 }
1354 1354
1355 1355
1356 void HStoreGlobal::PrintDataTo(StringStream* stream) { 1356 void HStoreGlobalCell::PrintDataTo(StringStream* stream) {
1357 stream->Add("[%p] = ", *cell()); 1357 stream->Add("[%p] = ", *cell());
1358 value()->PrintNameTo(stream); 1358 value()->PrintNameTo(stream);
1359 } 1359 }
1360 1360
1361 1361
1362 void HStoreGlobalGeneric::PrintDataTo(StringStream* stream) {
1363 stream->Add("%o = ", *name());
1364 value()->PrintNameTo(stream);
1365 }
1366
1367
1362 void HLoadContextSlot::PrintDataTo(StringStream* stream) { 1368 void HLoadContextSlot::PrintDataTo(StringStream* stream) {
1363 value()->PrintNameTo(stream); 1369 value()->PrintNameTo(stream);
1364 stream->Add("[%d]", slot_index()); 1370 stream->Add("[%d]", slot_index());
1365 } 1371 }
1366 1372
1367 1373
1368 void HStoreContextSlot::PrintDataTo(StringStream* stream) { 1374 void HStoreContextSlot::PrintDataTo(StringStream* stream) {
1369 context()->PrintNameTo(stream); 1375 context()->PrintNameTo(stream);
1370 stream->Add("[%d] = ", slot_index()); 1376 stream->Add("[%d] = ", slot_index());
1371 value()->PrintNameTo(stream); 1377 value()->PrintNameTo(stream);
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1624 1630
1625 1631
1626 void HCheckPrototypeMaps::Verify() { 1632 void HCheckPrototypeMaps::Verify() {
1627 HInstruction::Verify(); 1633 HInstruction::Verify();
1628 ASSERT(HasNoUses()); 1634 ASSERT(HasNoUses());
1629 } 1635 }
1630 1636
1631 #endif 1637 #endif
1632 1638
1633 } } // namespace v8::internal 1639 } } // 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