| 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 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1529 } | 1529 } |
| 1530 | 1530 |
| 1531 | 1531 |
| 1532 void HCallStub::PrintDataTo(StringStream* stream) { | 1532 void HCallStub::PrintDataTo(StringStream* stream) { |
| 1533 stream->Add("%s ", | 1533 stream->Add("%s ", |
| 1534 CodeStub::MajorName(major_key_, false)); | 1534 CodeStub::MajorName(major_key_, false)); |
| 1535 HUnaryCall::PrintDataTo(stream); | 1535 HUnaryCall::PrintDataTo(stream); |
| 1536 } | 1536 } |
| 1537 | 1537 |
| 1538 | 1538 |
| 1539 void HCallExternal::PrintDataTo(StringStream* stream) { |
| 1540 // stream->Add("%p ", external_function_.address()); |
| 1541 HCall<0>::PrintDataTo(stream); |
| 1542 } |
| 1543 |
| 1544 |
| 1539 void HUnknownOSRValue::PrintDataTo(StringStream *stream) { | 1545 void HUnknownOSRValue::PrintDataTo(StringStream *stream) { |
| 1540 const char* type = "expression"; | 1546 const char* type = "expression"; |
| 1541 if (environment_->is_local_index(index_)) type = "local"; | 1547 if (environment_->is_local_index(index_)) type = "local"; |
| 1542 if (environment_->is_special_index(index_)) type = "special"; | 1548 if (environment_->is_special_index(index_)) type = "special"; |
| 1543 if (environment_->is_parameter_index(index_)) type = "parameter"; | 1549 if (environment_->is_parameter_index(index_)) type = "parameter"; |
| 1544 stream->Add("%s @ %d", type, index_); | 1550 stream->Add("%s @ %d", type, index_); |
| 1545 } | 1551 } |
| 1546 | 1552 |
| 1547 | 1553 |
| 1548 void HInstanceOf::PrintDataTo(StringStream* stream) { | 1554 void HInstanceOf::PrintDataTo(StringStream* stream) { |
| (...skipping 2742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4291 break; | 4297 break; |
| 4292 case kExternalMemory: | 4298 case kExternalMemory: |
| 4293 stream->Add("[external-memory]"); | 4299 stream->Add("[external-memory]"); |
| 4294 break; | 4300 break; |
| 4295 } | 4301 } |
| 4296 | 4302 |
| 4297 stream->Add("@%d", offset()); | 4303 stream->Add("@%d", offset()); |
| 4298 } | 4304 } |
| 4299 | 4305 |
| 4300 } } // namespace v8::internal | 4306 } } // namespace v8::internal |
| OLD | NEW |