| 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 if (!expr->AllowsLazyCompilation()) { | 760 // FunctionLiteral is supported. |
| 761 BAILOUT("FunctionLiteral does not allow lazy compilation"); | |
| 762 } | |
| 763 } | 761 } |
| 764 | 762 |
| 765 | 763 |
| 766 void CodeGenSelector::VisitFunctionBoilerplateLiteral( | 764 void CodeGenSelector::VisitFunctionBoilerplateLiteral( |
| 767 FunctionBoilerplateLiteral* expr) { | 765 FunctionBoilerplateLiteral* expr) { |
| 768 BAILOUT("FunctionBoilerplateLiteral"); | 766 BAILOUT("FunctionBoilerplateLiteral"); |
| 769 } | 767 } |
| 770 | 768 |
| 771 | 769 |
| 772 void CodeGenSelector::VisitConditional(Conditional* expr) { | 770 void CodeGenSelector::VisitConditional(Conditional* expr) { |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 | 1096 |
| 1099 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { | 1097 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { |
| 1100 BAILOUT("ThisFunction"); | 1098 BAILOUT("ThisFunction"); |
| 1101 } | 1099 } |
| 1102 | 1100 |
| 1103 #undef BAILOUT | 1101 #undef BAILOUT |
| 1104 #undef CHECK_BAILOUT | 1102 #undef CHECK_BAILOUT |
| 1105 | 1103 |
| 1106 | 1104 |
| 1107 } } // namespace v8::internal | 1105 } } // namespace v8::internal |
| OLD | NEW |