Chromium Code Reviews| 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 3055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3066 void HCompareNumericAndBranch::PrintDataTo(StringStream* stream) { | 3066 void HCompareNumericAndBranch::PrintDataTo(StringStream* stream) { |
| 3067 stream->Add(Token::Name(token())); | 3067 stream->Add(Token::Name(token())); |
| 3068 stream->Add(" "); | 3068 stream->Add(" "); |
| 3069 left()->PrintNameTo(stream); | 3069 left()->PrintNameTo(stream); |
| 3070 stream->Add(" "); | 3070 stream->Add(" "); |
| 3071 right()->PrintNameTo(stream); | 3071 right()->PrintNameTo(stream); |
| 3072 HControlInstruction::PrintDataTo(stream); | 3072 HControlInstruction::PrintDataTo(stream); |
| 3073 } | 3073 } |
| 3074 | 3074 |
| 3075 | 3075 |
| 3076 void HCompareObjectEqAndBranch::PrintDataTo(StringStream* stream) { | 3076 void HCompareObjectAndBranch::PrintDataTo(StringStream* stream) { |
|
titzer
2013/07/29 13:24:41
We should probably print the token now too, right?
danno
2013/07/29 14:44:59
Done.
| |
| 3077 left()->PrintNameTo(stream); | 3077 left()->PrintNameTo(stream); |
| 3078 stream->Add(" "); | 3078 stream->Add(" "); |
| 3079 right()->PrintNameTo(stream); | 3079 right()->PrintNameTo(stream); |
| 3080 HControlInstruction::PrintDataTo(stream); | 3080 HControlInstruction::PrintDataTo(stream); |
| 3081 } | 3081 } |
| 3082 | 3082 |
| 3083 | 3083 |
| 3084 void HGoto::PrintDataTo(StringStream* stream) { | 3084 void HGoto::PrintDataTo(StringStream* stream) { |
| 3085 stream->Add("B%d", SuccessorAt(0)->block_id()); | 3085 stream->Add("B%d", SuccessorAt(0)->block_id()); |
| 3086 } | 3086 } |
| (...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4535 case kBackingStore: | 4535 case kBackingStore: |
| 4536 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); | 4536 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
| 4537 stream->Add("[backing-store]"); | 4537 stream->Add("[backing-store]"); |
| 4538 break; | 4538 break; |
| 4539 } | 4539 } |
| 4540 | 4540 |
| 4541 stream->Add("@%d", offset()); | 4541 stream->Add("@%d", offset()); |
| 4542 } | 4542 } |
| 4543 | 4543 |
| 4544 } } // namespace v8::internal | 4544 } } // namespace v8::internal |
| OLD | NEW |