OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 BAILOUT("TryFinallyStatement"); | 750 BAILOUT("TryFinallyStatement"); |
751 } | 751 } |
752 | 752 |
753 | 753 |
754 void CodeGenSelector::VisitDebuggerStatement(DebuggerStatement* stmt) { | 754 void CodeGenSelector::VisitDebuggerStatement(DebuggerStatement* stmt) { |
755 // Debugger statement is supported. | 755 // Debugger statement is supported. |
756 } | 756 } |
757 | 757 |
758 | 758 |
759 void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) { | 759 void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) { |
760 // FunctionLiteral is supported. | 760 if (!expr->AllowsLazyCompilation()) { |
| 761 BAILOUT("FunctionLiteral does not allow lazy compilation"); |
| 762 } |
761 } | 763 } |
762 | 764 |
763 | 765 |
764 void CodeGenSelector::VisitFunctionBoilerplateLiteral( | 766 void CodeGenSelector::VisitFunctionBoilerplateLiteral( |
765 FunctionBoilerplateLiteral* expr) { | 767 FunctionBoilerplateLiteral* expr) { |
766 BAILOUT("FunctionBoilerplateLiteral"); | 768 BAILOUT("FunctionBoilerplateLiteral"); |
767 } | 769 } |
768 | 770 |
769 | 771 |
770 void CodeGenSelector::VisitConditional(Conditional* expr) { | 772 void CodeGenSelector::VisitConditional(Conditional* expr) { |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 | 1100 |
1099 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { | 1101 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { |
1100 BAILOUT("ThisFunction"); | 1102 BAILOUT("ThisFunction"); |
1101 } | 1103 } |
1102 | 1104 |
1103 #undef BAILOUT | 1105 #undef BAILOUT |
1104 #undef CHECK_BAILOUT | 1106 #undef CHECK_BAILOUT |
1105 | 1107 |
1106 | 1108 |
1107 } } // namespace v8::internal | 1109 } } // namespace v8::internal |
OLD | NEW |