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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 // Execute the finally block on the way out. | 979 // Execute the finally block on the way out. |
980 __ Call(&finally_entry); | 980 __ Call(&finally_entry); |
981 } | 981 } |
982 | 982 |
983 | 983 |
984 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { | 984 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { |
985 #ifdef ENABLE_DEBUGGER_SUPPORT | 985 #ifdef ENABLE_DEBUGGER_SUPPORT |
986 Comment cmnt(masm_, "[ DebuggerStatement"); | 986 Comment cmnt(masm_, "[ DebuggerStatement"); |
987 SetStatementPosition(stmt); | 987 SetStatementPosition(stmt); |
988 | 988 |
989 DebuggerStatementStub ces; | 989 __ DebugBreak(); |
990 __ CallStub(&ces); | |
991 // Ignore the return value. | 990 // Ignore the return value. |
992 #endif | 991 #endif |
993 } | 992 } |
994 | 993 |
995 | 994 |
996 void FullCodeGenerator::VisitFunctionBoilerplateLiteral( | 995 void FullCodeGenerator::VisitFunctionBoilerplateLiteral( |
997 FunctionBoilerplateLiteral* expr) { | 996 FunctionBoilerplateLiteral* expr) { |
998 UNREACHABLE(); | 997 UNREACHABLE(); |
999 } | 998 } |
1000 | 999 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1145 // The macros used here must preserve the result register. | 1144 // The macros used here must preserve the result register. |
1146 __ Drop(stack_depth); | 1145 __ Drop(stack_depth); |
1147 __ PopTryHandler(); | 1146 __ PopTryHandler(); |
1148 return 0; | 1147 return 0; |
1149 } | 1148 } |
1150 | 1149 |
1151 #undef __ | 1150 #undef __ |
1152 | 1151 |
1153 | 1152 |
1154 } } // namespace v8::internal | 1153 } } // namespace v8::internal |
OLD | NEW |