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 2645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2656 } | 2656 } |
2657 | 2657 |
2658 | 2658 |
2659 HType HAllocate::CalculateInferredType() { | 2659 HType HAllocate::CalculateInferredType() { |
2660 return type_; | 2660 return type_; |
2661 } | 2661 } |
2662 | 2662 |
2663 | 2663 |
2664 void HAllocate::PrintDataTo(StringStream* stream) { | 2664 void HAllocate::PrintDataTo(StringStream* stream) { |
2665 size()->PrintNameTo(stream); | 2665 size()->PrintNameTo(stream); |
| 2666 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)"); |
2666 } | 2667 } |
2667 | 2668 |
2668 | 2669 |
2669 HType HFastLiteral::CalculateInferredType() { | 2670 HType HFastLiteral::CalculateInferredType() { |
2670 // TODO(mstarzinger): Be smarter, could also be JSArray here. | 2671 // TODO(mstarzinger): Be smarter, could also be JSArray here. |
2671 return HType::JSObject(); | 2672 return HType::JSObject(); |
2672 } | 2673 } |
2673 | 2674 |
2674 | 2675 |
2675 HType HArrayLiteral::CalculateInferredType() { | 2676 HType HArrayLiteral::CalculateInferredType() { |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3272 | 3273 |
3273 | 3274 |
3274 void HCheckFunction::Verify() { | 3275 void HCheckFunction::Verify() { |
3275 HInstruction::Verify(); | 3276 HInstruction::Verify(); |
3276 ASSERT(HasNoUses()); | 3277 ASSERT(HasNoUses()); |
3277 } | 3278 } |
3278 | 3279 |
3279 #endif | 3280 #endif |
3280 | 3281 |
3281 } } // namespace v8::internal | 3282 } } // namespace v8::internal |
OLD | NEW |