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

Side by Side Diff: src/arm/debug-arm.cc

Issue 8318014: Make _CallFunction proxy-aware. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Kevin's comment. Created 9 years, 1 month 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/code-stubs-arm.cc ('k') | src/arm/full-codegen-arm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 261
262 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { 262 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
263 // In places other than IC call sites it is expected that r0 is TOS which 263 // In places other than IC call sites it is expected that r0 is TOS which
264 // is an object - this is not generally the case so this should be used with 264 // is an object - this is not generally the case so this should be used with
265 // care. 265 // care.
266 Generate_DebugBreakCallHelper(masm, r0.bit(), 0); 266 Generate_DebugBreakCallHelper(masm, r0.bit(), 0);
267 } 267 }
268 268
269 269
270 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { 270 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
271 // ----------- S t a t e ------------- 271 // ----------- S t a t e -------------
272 // No registers used on entry. 272 // -- r1 : function
273 // ----------------------------------- 273 // -----------------------------------
274 Generate_DebugBreakCallHelper(masm, 0, 0); 274 Generate_DebugBreakCallHelper(masm, r1.bit(), 0);
275 } 275 }
276 276
277 277
278 void Debug::GenerateSlot(MacroAssembler* masm) { 278 void Debug::GenerateSlot(MacroAssembler* masm) {
279 // Generate enough nop's to make space for a call instruction. Avoid emitting 279 // Generate enough nop's to make space for a call instruction. Avoid emitting
280 // the constant pool in the debug break slot code. 280 // the constant pool in the debug break slot code.
281 Assembler::BlockConstPoolScope block_const_pool(masm); 281 Assembler::BlockConstPoolScope block_const_pool(masm);
282 Label check_codesize; 282 Label check_codesize;
283 __ bind(&check_codesize); 283 __ bind(&check_codesize);
284 __ RecordDebugBreakSlot(); 284 __ RecordDebugBreakSlot();
(...skipping 25 matching lines...) Expand all
310 310
311 #undef __ 311 #undef __
312 312
313 313
314 314
315 #endif // ENABLE_DEBUGGER_SUPPORT 315 #endif // ENABLE_DEBUGGER_SUPPORT
316 316
317 } } // namespace v8::internal 317 } } // namespace v8::internal
318 318
319 #endif // V8_TARGET_ARCH_ARM 319 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698