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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 BAILOUT("ForInStatement"); | 758 BAILOUT("ForInStatement"); |
759 } | 759 } |
760 | 760 |
761 | 761 |
762 void CodeGenSelector::VisitTryCatchStatement(TryCatchStatement* stmt) { | 762 void CodeGenSelector::VisitTryCatchStatement(TryCatchStatement* stmt) { |
763 BAILOUT("TryCatchStatement"); | 763 BAILOUT("TryCatchStatement"); |
764 } | 764 } |
765 | 765 |
766 | 766 |
767 void CodeGenSelector::VisitTryFinallyStatement(TryFinallyStatement* stmt) { | 767 void CodeGenSelector::VisitTryFinallyStatement(TryFinallyStatement* stmt) { |
768 BAILOUT("TryFinallyStatement"); | 768 Visit(stmt->try_block()); |
| 769 CHECK_BAILOUT; |
| 770 Visit(stmt->finally_block()); |
769 } | 771 } |
770 | 772 |
771 | 773 |
772 void CodeGenSelector::VisitDebuggerStatement(DebuggerStatement* stmt) { | 774 void CodeGenSelector::VisitDebuggerStatement(DebuggerStatement* stmt) { |
773 // Debugger statement is supported. | 775 // Debugger statement is supported. |
774 } | 776 } |
775 | 777 |
776 | 778 |
777 void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) { | 779 void CodeGenSelector::VisitFunctionLiteral(FunctionLiteral* expr) { |
778 // Function literal is supported. | 780 // Function literal is supported. |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1124 | 1126 |
1125 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { | 1127 void CodeGenSelector::VisitThisFunction(ThisFunction* expr) { |
1126 // ThisFunction is supported. | 1128 // ThisFunction is supported. |
1127 } | 1129 } |
1128 | 1130 |
1129 #undef BAILOUT | 1131 #undef BAILOUT |
1130 #undef CHECK_BAILOUT | 1132 #undef CHECK_BAILOUT |
1131 | 1133 |
1132 | 1134 |
1133 } } // namespace v8::internal | 1135 } } // namespace v8::internal |
OLD | NEW |