| 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 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1834 HType HUnaryMathOperation::CalculateInferredType() { | 1834 HType HUnaryMathOperation::CalculateInferredType() { |
| 1835 return HType::TaggedNumber(); | 1835 return HType::TaggedNumber(); |
| 1836 } | 1836 } |
| 1837 | 1837 |
| 1838 | 1838 |
| 1839 HType HStringCharFromCode::CalculateInferredType() { | 1839 HType HStringCharFromCode::CalculateInferredType() { |
| 1840 return HType::String(); | 1840 return HType::String(); |
| 1841 } | 1841 } |
| 1842 | 1842 |
| 1843 | 1843 |
| 1844 HType HFastLiteral::CalculateInferredType() { |
| 1845 // TODO(mstarzinger): Be smarter, could also be JSArray here. |
| 1846 return HType::JSObject(); |
| 1847 } |
| 1848 |
| 1849 |
| 1844 HType HArrayLiteral::CalculateInferredType() { | 1850 HType HArrayLiteral::CalculateInferredType() { |
| 1845 return HType::JSArray(); | 1851 return HType::JSArray(); |
| 1846 } | 1852 } |
| 1847 | 1853 |
| 1848 | 1854 |
| 1849 HType HObjectLiteralFast::CalculateInferredType() { | 1855 HType HObjectLiteral::CalculateInferredType() { |
| 1850 return HType::JSObject(); | 1856 return HType::JSObject(); |
| 1851 } | 1857 } |
| 1852 | 1858 |
| 1853 | |
| 1854 HType HObjectLiteralGeneric::CalculateInferredType() { | |
| 1855 return HType::JSObject(); | |
| 1856 } | |
| 1857 | |
| 1858 | 1859 |
| 1859 HType HRegExpLiteral::CalculateInferredType() { | 1860 HType HRegExpLiteral::CalculateInferredType() { |
| 1860 return HType::JSObject(); | 1861 return HType::JSObject(); |
| 1861 } | 1862 } |
| 1862 | 1863 |
| 1863 | 1864 |
| 1864 HType HFunctionLiteral::CalculateInferredType() { | 1865 HType HFunctionLiteral::CalculateInferredType() { |
| 1865 return HType::JSObject(); | 1866 return HType::JSObject(); |
| 1866 } | 1867 } |
| 1867 | 1868 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2161 | 2162 |
| 2162 | 2163 |
| 2163 void HCheckPrototypeMaps::Verify() { | 2164 void HCheckPrototypeMaps::Verify() { |
| 2164 HInstruction::Verify(); | 2165 HInstruction::Verify(); |
| 2165 ASSERT(HasNoUses()); | 2166 ASSERT(HasNoUses()); |
| 2166 } | 2167 } |
| 2167 | 2168 |
| 2168 #endif | 2169 #endif |
| 2169 | 2170 |
| 2170 } } // namespace v8::internal | 2171 } } // namespace v8::internal |
| OLD | NEW |