| 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 3023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3034 HType HUnaryMathOperation::CalculateInferredType() { | 3034 HType HUnaryMathOperation::CalculateInferredType() { |
| 3035 return HType::TaggedNumber(); | 3035 return HType::TaggedNumber(); |
| 3036 } | 3036 } |
| 3037 | 3037 |
| 3038 | 3038 |
| 3039 HType HStringCharFromCode::CalculateInferredType() { | 3039 HType HStringCharFromCode::CalculateInferredType() { |
| 3040 return HType::String(); | 3040 return HType::String(); |
| 3041 } | 3041 } |
| 3042 | 3042 |
| 3043 | 3043 |
| 3044 HType HAllocateObject::CalculateInferredType() { | |
| 3045 return HType::JSObject(); | |
| 3046 } | |
| 3047 | |
| 3048 | |
| 3049 HType HAllocate::CalculateInferredType() { | 3044 HType HAllocate::CalculateInferredType() { |
| 3050 return type_; | 3045 return type_; |
| 3051 } | 3046 } |
| 3052 | 3047 |
| 3053 | 3048 |
| 3054 void HAllocate::PrintDataTo(StringStream* stream) { | 3049 void HAllocate::PrintDataTo(StringStream* stream) { |
| 3055 size()->PrintNameTo(stream); | 3050 size()->PrintNameTo(stream); |
| 3056 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)"); | 3051 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)"); |
| 3057 } | 3052 } |
| 3058 | 3053 |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3805 case kBackingStore: | 3800 case kBackingStore: |
| 3806 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); | 3801 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
| 3807 stream->Add("[backing-store]"); | 3802 stream->Add("[backing-store]"); |
| 3808 break; | 3803 break; |
| 3809 } | 3804 } |
| 3810 | 3805 |
| 3811 stream->Add("@%d", offset()); | 3806 stream->Add("@%d", offset()); |
| 3812 } | 3807 } |
| 3813 | 3808 |
| 3814 } } // namespace v8::internal | 3809 } } // namespace v8::internal |
| OLD | NEW |