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 3501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3512 } | 3512 } |
3513 | 3513 |
3514 | 3514 |
3515 void HLoadGlobalGeneric::PrintDataTo(StringStream* stream) { | 3515 void HLoadGlobalGeneric::PrintDataTo(StringStream* stream) { |
3516 stream->Add("%o ", *name()); | 3516 stream->Add("%o ", *name()); |
3517 } | 3517 } |
3518 | 3518 |
3519 | 3519 |
3520 void HInnerAllocatedObject::PrintDataTo(StringStream* stream) { | 3520 void HInnerAllocatedObject::PrintDataTo(StringStream* stream) { |
3521 base_object()->PrintNameTo(stream); | 3521 base_object()->PrintNameTo(stream); |
3522 stream->Add(" offset %d", offset()); | 3522 stream->Add(" offset "); |
| 3523 offset()->PrintTo(stream); |
3523 } | 3524 } |
3524 | 3525 |
3525 | 3526 |
3526 void HStoreGlobalCell::PrintDataTo(StringStream* stream) { | 3527 void HStoreGlobalCell::PrintDataTo(StringStream* stream) { |
3527 stream->Add("[%p] = ", *cell().handle()); | 3528 stream->Add("[%p] = ", *cell().handle()); |
3528 value()->PrintNameTo(stream); | 3529 value()->PrintNameTo(stream); |
3529 if (!details_.IsDontDelete()) stream->Add(" (deleteable)"); | 3530 if (!details_.IsDontDelete()) stream->Add(" (deleteable)"); |
3530 if (details_.IsReadOnly()) stream->Add(" (read-only)"); | 3531 if (details_.IsReadOnly()) stream->Add(" (read-only)"); |
3531 } | 3532 } |
3532 | 3533 |
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4587 break; | 4588 break; |
4588 case kExternalMemory: | 4589 case kExternalMemory: |
4589 stream->Add("[external-memory]"); | 4590 stream->Add("[external-memory]"); |
4590 break; | 4591 break; |
4591 } | 4592 } |
4592 | 4593 |
4593 stream->Add("@%d", offset()); | 4594 stream->Add("@%d", offset()); |
4594 } | 4595 } |
4595 | 4596 |
4596 } } // namespace v8::internal | 4597 } } // namespace v8::internal |
OLD | NEW |