| 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 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1486 } | 1486 } |
| 1487 | 1487 |
| 1488 | 1488 |
| 1489 void HCallStub::PrintDataTo(StringStream* stream) { | 1489 void HCallStub::PrintDataTo(StringStream* stream) { |
| 1490 stream->Add("%s ", | 1490 stream->Add("%s ", |
| 1491 CodeStub::MajorName(major_key_, false)); | 1491 CodeStub::MajorName(major_key_, false)); |
| 1492 HUnaryCall::PrintDataTo(stream); | 1492 HUnaryCall::PrintDataTo(stream); |
| 1493 } | 1493 } |
| 1494 | 1494 |
| 1495 | 1495 |
| 1496 void HUnknownOSRValue::PrintDataTo(StringStream *stream) { |
| 1497 const char* type = "expression"; |
| 1498 if (environment_->is_local_index(index_)) type = "local"; |
| 1499 if (environment_->is_special_index(index_)) type = "special"; |
| 1500 if (environment_->is_parameter_index(index_)) type = "parameter"; |
| 1501 stream->Add("%s @ %d", type, index_); |
| 1502 } |
| 1503 |
| 1504 |
| 1496 void HInstanceOf::PrintDataTo(StringStream* stream) { | 1505 void HInstanceOf::PrintDataTo(StringStream* stream) { |
| 1497 left()->PrintNameTo(stream); | 1506 left()->PrintNameTo(stream); |
| 1498 stream->Add(" "); | 1507 stream->Add(" "); |
| 1499 right()->PrintNameTo(stream); | 1508 right()->PrintNameTo(stream); |
| 1500 stream->Add(" "); | 1509 stream->Add(" "); |
| 1501 context()->PrintNameTo(stream); | 1510 context()->PrintNameTo(stream); |
| 1502 } | 1511 } |
| 1503 | 1512 |
| 1504 | 1513 |
| 1505 Range* HValue::InferRange(Zone* zone) { | 1514 Range* HValue::InferRange(Zone* zone) { |
| (...skipping 2725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4231 break; | 4240 break; |
| 4232 case kExternalMemory: | 4241 case kExternalMemory: |
| 4233 stream->Add("[external-memory]"); | 4242 stream->Add("[external-memory]"); |
| 4234 break; | 4243 break; |
| 4235 } | 4244 } |
| 4236 | 4245 |
| 4237 stream->Add("@%d", offset()); | 4246 stream->Add("@%d", offset()); |
| 4238 } | 4247 } |
| 4239 | 4248 |
| 4240 } } // namespace v8::internal | 4249 } } // namespace v8::internal |
| OLD | NEW |