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 2639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2650 HType HAllocateObject::CalculateInferredType() { | 2650 HType HAllocateObject::CalculateInferredType() { |
2651 return HType::JSObject(); | 2651 return HType::JSObject(); |
2652 } | 2652 } |
2653 | 2653 |
2654 | 2654 |
2655 HType HAllocate::CalculateInferredType() { | 2655 HType HAllocate::CalculateInferredType() { |
2656 return type_; | 2656 return type_; |
2657 } | 2657 } |
2658 | 2658 |
2659 | 2659 |
| 2660 void HAllocate::PrintDataTo(StringStream* stream) { |
| 2661 size()->PrintNameTo(stream); |
| 2662 } |
| 2663 |
| 2664 |
2660 HType HFastLiteral::CalculateInferredType() { | 2665 HType HFastLiteral::CalculateInferredType() { |
2661 // TODO(mstarzinger): Be smarter, could also be JSArray here. | 2666 // TODO(mstarzinger): Be smarter, could also be JSArray here. |
2662 return HType::JSObject(); | 2667 return HType::JSObject(); |
2663 } | 2668 } |
2664 | 2669 |
2665 | 2670 |
2666 HType HArrayLiteral::CalculateInferredType() { | 2671 HType HArrayLiteral::CalculateInferredType() { |
2667 return HType::JSArray(); | 2672 return HType::JSArray(); |
2668 } | 2673 } |
2669 | 2674 |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3263 | 3268 |
3264 | 3269 |
3265 void HCheckFunction::Verify() { | 3270 void HCheckFunction::Verify() { |
3266 HInstruction::Verify(); | 3271 HInstruction::Verify(); |
3267 ASSERT(HasNoUses()); | 3272 ASSERT(HasNoUses()); |
3268 } | 3273 } |
3269 | 3274 |
3270 #endif | 3275 #endif |
3271 | 3276 |
3272 } } // namespace v8::internal | 3277 } } // namespace v8::internal |
OLD | NEW |