OLD | NEW |
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 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1335 stream->Add("pixel"); | 1335 stream->Add("pixel"); |
1336 break; | 1336 break; |
1337 } | 1337 } |
1338 stream->Add("["); | 1338 stream->Add("["); |
1339 key()->PrintNameTo(stream); | 1339 key()->PrintNameTo(stream); |
1340 stream->Add("] = "); | 1340 stream->Add("] = "); |
1341 value()->PrintNameTo(stream); | 1341 value()->PrintNameTo(stream); |
1342 } | 1342 } |
1343 | 1343 |
1344 | 1344 |
1345 void HLoadGlobal::PrintDataTo(StringStream* stream) { | 1345 void HLoadGlobalCell::PrintDataTo(StringStream* stream) { |
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) { |
| 1352 stream->Add("%o ", *name()); |
| 1353 } |
| 1354 |
| 1355 |
1351 void HStoreGlobal::PrintDataTo(StringStream* stream) { | 1356 void HStoreGlobal::PrintDataTo(StringStream* stream) { |
1352 stream->Add("[%p] = ", *cell()); | 1357 stream->Add("[%p] = ", *cell()); |
1353 value()->PrintNameTo(stream); | 1358 value()->PrintNameTo(stream); |
1354 } | 1359 } |
1355 | 1360 |
1356 | 1361 |
1357 void HLoadContextSlot::PrintDataTo(StringStream* stream) { | 1362 void HLoadContextSlot::PrintDataTo(StringStream* stream) { |
1358 value()->PrintNameTo(stream); | 1363 value()->PrintNameTo(stream); |
1359 stream->Add("[%d]", slot_index()); | 1364 stream->Add("[%d]", slot_index()); |
1360 } | 1365 } |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1619 | 1624 |
1620 | 1625 |
1621 void HCheckPrototypeMaps::Verify() { | 1626 void HCheckPrototypeMaps::Verify() { |
1622 HInstruction::Verify(); | 1627 HInstruction::Verify(); |
1623 ASSERT(HasNoUses()); | 1628 ASSERT(HasNoUses()); |
1624 } | 1629 } |
1625 | 1630 |
1626 #endif | 1631 #endif |
1627 | 1632 |
1628 } } // namespace v8::internal | 1633 } } // namespace v8::internal |
OLD | NEW |