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

Side by Side Diff: src/arm/virtual-frame-arm.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/arm/virtual-frame-arm.h ('k') | src/assembler.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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 } 226 }
227 227
228 228
229 void VirtualFrame::CallRuntime(Runtime::FunctionId id, int arg_count) { 229 void VirtualFrame::CallRuntime(Runtime::FunctionId id, int arg_count) {
230 Forget(arg_count); 230 Forget(arg_count);
231 ASSERT(cgen()->HasValidEntryRegisters()); 231 ASSERT(cgen()->HasValidEntryRegisters());
232 __ CallRuntime(id, arg_count); 232 __ CallRuntime(id, arg_count);
233 } 233 }
234 234
235 235
236 #ifdef ENABLE_DEBUGGER_SUPPORT
237 void VirtualFrame::DebugBreak() {
238 ASSERT(cgen()->HasValidEntryRegisters());
239 __ DebugBreak();
240 }
241 #endif
242
243
236 void VirtualFrame::InvokeBuiltin(Builtins::JavaScript id, 244 void VirtualFrame::InvokeBuiltin(Builtins::JavaScript id,
237 InvokeJSFlags flags, 245 InvokeJSFlags flags,
238 int arg_count) { 246 int arg_count) {
239 Forget(arg_count); 247 Forget(arg_count);
240 __ InvokeBuiltin(id, flags); 248 __ InvokeBuiltin(id, flags);
241 } 249 }
242 250
243 251
244 void VirtualFrame::CallCodeObject(Handle<Code> code, 252 void VirtualFrame::CallCodeObject(Handle<Code> code,
245 RelocInfo::Mode rmode, 253 RelocInfo::Mode rmode,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 void VirtualFrame::EmitPushMultiple(int count, int src_regs) { 322 void VirtualFrame::EmitPushMultiple(int count, int src_regs) {
315 ASSERT(stack_pointer_ == element_count() - 1); 323 ASSERT(stack_pointer_ == element_count() - 1);
316 Adjust(count); 324 Adjust(count);
317 __ stm(db_w, sp, src_regs); 325 __ stm(db_w, sp, src_regs);
318 } 326 }
319 327
320 328
321 #undef __ 329 #undef __
322 330
323 } } // namespace v8::internal 331 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/virtual-frame-arm.h ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698