| 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 2903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2914 return type_; | 2914 return type_; |
| 2915 } | 2915 } |
| 2916 | 2916 |
| 2917 | 2917 |
| 2918 void HAllocate::PrintDataTo(StringStream* stream) { | 2918 void HAllocate::PrintDataTo(StringStream* stream) { |
| 2919 size()->PrintNameTo(stream); | 2919 size()->PrintNameTo(stream); |
| 2920 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)"); | 2920 if (!GuaranteedInNewSpace()) stream->Add(" (pretenure)"); |
| 2921 } | 2921 } |
| 2922 | 2922 |
| 2923 | 2923 |
| 2924 HType HFastLiteral::CalculateInferredType() { | |
| 2925 // TODO(mstarzinger): Be smarter, could also be JSArray here. | |
| 2926 return HType::JSObject(); | |
| 2927 } | |
| 2928 | |
| 2929 | |
| 2930 HType HArrayLiteral::CalculateInferredType() { | 2924 HType HArrayLiteral::CalculateInferredType() { |
| 2931 return HType::JSArray(); | 2925 return HType::JSArray(); |
| 2932 } | 2926 } |
| 2933 | 2927 |
| 2934 | 2928 |
| 2935 HType HObjectLiteral::CalculateInferredType() { | 2929 HType HObjectLiteral::CalculateInferredType() { |
| 2936 return HType::JSObject(); | 2930 return HType::JSObject(); |
| 2937 } | 2931 } |
| 2938 | 2932 |
| 2939 | 2933 |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3536 | 3530 |
| 3537 | 3531 |
| 3538 void HCheckFunction::Verify() { | 3532 void HCheckFunction::Verify() { |
| 3539 HInstruction::Verify(); | 3533 HInstruction::Verify(); |
| 3540 ASSERT(HasNoUses()); | 3534 ASSERT(HasNoUses()); |
| 3541 } | 3535 } |
| 3542 | 3536 |
| 3543 #endif | 3537 #endif |
| 3544 | 3538 |
| 3545 } } // namespace v8::internal | 3539 } } // namespace v8::internal |
| OLD | NEW |