OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2507 } | 2507 } |
2508 return false; | 2508 return false; |
2509 } | 2509 } |
2510 | 2510 |
2511 | 2511 |
2512 void HLoadGlobalGeneric::PrintDataTo(StringStream* stream) { | 2512 void HLoadGlobalGeneric::PrintDataTo(StringStream* stream) { |
2513 stream->Add("%o ", *name()); | 2513 stream->Add("%o ", *name()); |
2514 } | 2514 } |
2515 | 2515 |
2516 | 2516 |
| 2517 void HSubAllocatedObject::PrintDataTo(StringStream* stream) { |
| 2518 base_object()->PrintNameTo(stream); |
| 2519 stream->Add(" offset %d", offset()); |
| 2520 } |
| 2521 |
| 2522 |
2517 void HStoreGlobalCell::PrintDataTo(StringStream* stream) { | 2523 void HStoreGlobalCell::PrintDataTo(StringStream* stream) { |
2518 stream->Add("[%p] = ", *cell()); | 2524 stream->Add("[%p] = ", *cell()); |
2519 value()->PrintNameTo(stream); | 2525 value()->PrintNameTo(stream); |
2520 if (!details_.IsDontDelete()) stream->Add(" (deleteable)"); | 2526 if (!details_.IsDontDelete()) stream->Add(" (deleteable)"); |
2521 if (details_.IsReadOnly()) stream->Add(" (read-only)"); | 2527 if (details_.IsReadOnly()) stream->Add(" (read-only)"); |
2522 } | 2528 } |
2523 | 2529 |
2524 | 2530 |
2525 void HStoreGlobalGeneric::PrintDataTo(StringStream* stream) { | 2531 void HStoreGlobalGeneric::PrintDataTo(StringStream* stream) { |
2526 stream->Add("%o = ", *name()); | 2532 stream->Add("%o = ", *name()); |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3275 | 3281 |
3276 | 3282 |
3277 void HCheckFunction::Verify() { | 3283 void HCheckFunction::Verify() { |
3278 HInstruction::Verify(); | 3284 HInstruction::Verify(); |
3279 ASSERT(HasNoUses()); | 3285 ASSERT(HasNoUses()); |
3280 } | 3286 } |
3281 | 3287 |
3282 #endif | 3288 #endif |
3283 | 3289 |
3284 } } // namespace v8::internal | 3290 } } // namespace v8::internal |
OLD | NEW |