| 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 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1240 *block = HConstant::cast(value)->BooleanValue() | 1240 *block = HConstant::cast(value)->BooleanValue() |
| 1241 ? FirstSuccessor() | 1241 ? FirstSuccessor() |
| 1242 : SecondSuccessor(); | 1242 : SecondSuccessor(); |
| 1243 return true; | 1243 return true; |
| 1244 } | 1244 } |
| 1245 *block = NULL; | 1245 *block = NULL; |
| 1246 return false; | 1246 return false; |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 | 1249 |
| 1250 void HBranch::PrintDataTo(StringStream* stream) { |
| 1251 HUnaryControlInstruction::PrintDataTo(stream); |
| 1252 stream->Add(" "); |
| 1253 expected_input_types().Print(stream); |
| 1254 } |
| 1255 |
| 1256 |
| 1250 void HCompareMap::PrintDataTo(StringStream* stream) { | 1257 void HCompareMap::PrintDataTo(StringStream* stream) { |
| 1251 value()->PrintNameTo(stream); | 1258 value()->PrintNameTo(stream); |
| 1252 stream->Add(" (%p)", *map().handle()); | 1259 stream->Add(" (%p)", *map().handle()); |
| 1253 HControlInstruction::PrintDataTo(stream); | 1260 HControlInstruction::PrintDataTo(stream); |
| 1254 if (known_successor_index() == 0) { | 1261 if (known_successor_index() == 0) { |
| 1255 stream->Add(" [true]"); | 1262 stream->Add(" [true]"); |
| 1256 } else if (known_successor_index() == 1) { | 1263 } else if (known_successor_index() == 1) { |
| 1257 stream->Add(" [false]"); | 1264 stream->Add(" [false]"); |
| 1258 } | 1265 } |
| 1259 } | 1266 } |
| (...skipping 3477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4737 break; | 4744 break; |
| 4738 case kExternalMemory: | 4745 case kExternalMemory: |
| 4739 stream->Add("[external-memory]"); | 4746 stream->Add("[external-memory]"); |
| 4740 break; | 4747 break; |
| 4741 } | 4748 } |
| 4742 | 4749 |
| 4743 stream->Add("@%d", offset()); | 4750 stream->Add("@%d", offset()); |
| 4744 } | 4751 } |
| 4745 | 4752 |
| 4746 } } // namespace v8::internal | 4753 } } // namespace v8::internal |
| OLD | NEW |