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

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

Issue 543207: Removing redundant stub for runtime native calls. (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/disassembler.cc ('k') | src/heap.cc » ('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 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 } 991 }
992 // Execute the finally block on the way out. 992 // Execute the finally block on the way out.
993 __ Call(&finally_entry); 993 __ Call(&finally_entry);
994 } 994 }
995 995
996 996
997 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) { 997 void FullCodeGenerator::VisitDebuggerStatement(DebuggerStatement* stmt) {
998 #ifdef ENABLE_DEBUGGER_SUPPORT 998 #ifdef ENABLE_DEBUGGER_SUPPORT
999 Comment cmnt(masm_, "[ DebuggerStatement"); 999 Comment cmnt(masm_, "[ DebuggerStatement");
1000 SetStatementPosition(stmt); 1000 SetStatementPosition(stmt);
1001 __ CallRuntime(Runtime::kDebugBreak, 0); 1001
1002 DebugerStatementStub ces;
1003 __ CallStub(&ces);
1002 // Ignore the return value. 1004 // Ignore the return value.
1003 #endif 1005 #endif
1004 } 1006 }
1005 1007
1006 1008
1007 void FullCodeGenerator::VisitFunctionBoilerplateLiteral( 1009 void FullCodeGenerator::VisitFunctionBoilerplateLiteral(
1008 FunctionBoilerplateLiteral* expr) { 1010 FunctionBoilerplateLiteral* expr) {
1009 UNREACHABLE(); 1011 UNREACHABLE();
1010 } 1012 }
1011 1013
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 __ Drop(stack_depth); 1159 __ Drop(stack_depth);
1158 __ PopTryHandler(); 1160 __ PopTryHandler();
1159 return 0; 1161 return 0;
1160 } 1162 }
1161 1163
1162 1164
1163 #undef __ 1165 #undef __
1164 1166
1165 1167
1166 } } // namespace v8::internal 1168 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/disassembler.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698