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

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

Issue 8509004: MIPS: Make _CallFunction proxy-aware. (Closed)
Patch Set: 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
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/full-codegen-mips.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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 252
253 253
254 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { 254 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
255 // In places other than IC call sites it is expected that v0 is TOS which 255 // In places other than IC call sites it is expected that v0 is TOS which
256 // is an object - this is not generally the case so this should be used with 256 // is an object - this is not generally the case so this should be used with
257 // care. 257 // care.
258 Generate_DebugBreakCallHelper(masm, v0.bit(), 0); 258 Generate_DebugBreakCallHelper(masm, v0.bit(), 0);
259 } 259 }
260 260
261 261
262 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { 262 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
263 // ----------- S t a t e ------------- 263 // ----------- S t a t e -------------
264 // No registers used on entry. 264 // -- a1 : function
265 // ----------------------------------- 265 // -----------------------------------
266 Generate_DebugBreakCallHelper(masm, 0, 0); 266 Generate_DebugBreakCallHelper(masm, a1.bit(), 0);
267 } 267 }
268 268
269 269
270 void Debug::GenerateSlot(MacroAssembler* masm) { 270 void Debug::GenerateSlot(MacroAssembler* masm) {
271 // Generate enough nop's to make space for a call instruction. Avoid emitting 271 // Generate enough nop's to make space for a call instruction. Avoid emitting
272 // the trampoline pool in the debug break slot code. 272 // the trampoline pool in the debug break slot code.
273 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm); 273 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm);
274 Label check_codesize; 274 Label check_codesize;
275 __ bind(&check_codesize); 275 __ bind(&check_codesize);
276 __ RecordDebugBreakSlot(); 276 __ RecordDebugBreakSlot();
(...skipping 25 matching lines...) Expand all
302 const bool Debug::kFrameDropperSupported = false; 302 const bool Debug::kFrameDropperSupported = false;
303 303
304 #undef __ 304 #undef __
305 305
306 306
307 #endif // ENABLE_DEBUGGER_SUPPORT 307 #endif // ENABLE_DEBUGGER_SUPPORT
308 308
309 } } // namespace v8::internal 309 } } // namespace v8::internal
310 310
311 #endif // V8_TARGET_ARCH_MIPS 311 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips/full-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698