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 2982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2993 return type_; | 2993 return type_; |
2994 } | 2994 } |
2995 | 2995 |
2996 | 2996 |
2997 void HAllocate::PrintDataTo(StringStream* stream) { | 2997 void HAllocate::PrintDataTo(StringStream* stream) { |
2998 size()->PrintNameTo(stream); | 2998 size()->PrintNameTo(stream); |
2999 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)"); | 2999 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)"); |
3000 } | 3000 } |
3001 | 3001 |
3002 | 3002 |
3003 HType HArrayLiteral::CalculateInferredType() { | |
3004 return HType::JSArray(); | |
3005 } | |
3006 | |
3007 | |
3008 HType HRegExpLiteral::CalculateInferredType() { | 3003 HType HRegExpLiteral::CalculateInferredType() { |
3009 return HType::JSObject(); | 3004 return HType::JSObject(); |
3010 } | 3005 } |
3011 | 3006 |
3012 | 3007 |
3013 HType HFunctionLiteral::CalculateInferredType() { | 3008 HType HFunctionLiteral::CalculateInferredType() { |
3014 return HType::JSObject(); | 3009 return HType::JSObject(); |
3015 } | 3010 } |
3016 | 3011 |
3017 | 3012 |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3617 | 3612 |
3618 | 3613 |
3619 void HCheckFunction::Verify() { | 3614 void HCheckFunction::Verify() { |
3620 HInstruction::Verify(); | 3615 HInstruction::Verify(); |
3621 ASSERT(HasNoUses()); | 3616 ASSERT(HasNoUses()); |
3622 } | 3617 } |
3623 | 3618 |
3624 #endif | 3619 #endif |
3625 | 3620 |
3626 } } // namespace v8::internal | 3621 } } // namespace v8::internal |
OLD | NEW |