| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #include "double.h" | 7 #include "double.h" |
| 8 #include "factory.h" | 8 #include "factory.h" |
| 9 #include "hydrogen-infer-representation.h" | 9 #include "hydrogen-infer-representation.h" |
| 10 #include "property-details-inl.h" | 10 #include "property-details-inl.h" |
| (...skipping 3400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3411 | 3411 |
| 3412 void HParameter::PrintDataTo(StringStream* stream) { | 3412 void HParameter::PrintDataTo(StringStream* stream) { |
| 3413 stream->Add("%u", index()); | 3413 stream->Add("%u", index()); |
| 3414 } | 3414 } |
| 3415 | 3415 |
| 3416 | 3416 |
| 3417 void HLoadNamedField::PrintDataTo(StringStream* stream) { | 3417 void HLoadNamedField::PrintDataTo(StringStream* stream) { |
| 3418 object()->PrintNameTo(stream); | 3418 object()->PrintNameTo(stream); |
| 3419 access_.PrintTo(stream); | 3419 access_.PrintTo(stream); |
| 3420 | 3420 |
| 3421 if (maps()->size() != 0) { | 3421 if (maps() != NULL) { |
| 3422 stream->Add(" [%p", *maps()->at(0).handle()); | 3422 stream->Add(" [%p", *maps()->at(0).handle()); |
| 3423 for (int i = 1; i < maps()->size(); ++i) { | 3423 for (int i = 1; i < maps()->size(); ++i) { |
| 3424 stream->Add(",%p", *maps()->at(i).handle()); | 3424 stream->Add(",%p", *maps()->at(i).handle()); |
| 3425 } | 3425 } |
| 3426 stream->Add("]"); | 3426 stream->Add("]"); |
| 3427 } | 3427 } |
| 3428 | 3428 |
| 3429 if (HasDependency()) { | 3429 if (HasDependency()) { |
| 3430 stream->Add(" "); | 3430 stream->Add(" "); |
| 3431 dependency()->PrintNameTo(stream); | 3431 dependency()->PrintNameTo(stream); |
| (...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4776 break; | 4776 break; |
| 4777 case kExternalMemory: | 4777 case kExternalMemory: |
| 4778 stream->Add("[external-memory]"); | 4778 stream->Add("[external-memory]"); |
| 4779 break; | 4779 break; |
| 4780 } | 4780 } |
| 4781 | 4781 |
| 4782 stream->Add("@%d", offset()); | 4782 stream->Add("@%d", offset()); |
| 4783 } | 4783 } |
| 4784 | 4784 |
| 4785 } } // namespace v8::internal | 4785 } } // namespace v8::internal |
| OLD | NEW |