Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Side by Side Diff: src/full-codegen.cc

Issue 561049: Using RelocInfo instead of DebuggerStatementStub (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/frames.cc ('k') | src/heap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698