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

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

Issue 159933002: A64: Synchronize with r19289. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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/a64/code-stubs-a64.cc ('k') | src/a64/full-codegen-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 // -- x1 : function 320 // -- x1 : function
321 // ----------------------------------- 321 // -----------------------------------
322 Generate_DebugBreakCallHelper(masm, x1.Bit(), 0, x10); 322 Generate_DebugBreakCallHelper(masm, x1.Bit(), 0, x10);
323 } 323 }
324 324
325 325
326 void Debug::GenerateCallFunctionStubRecordDebugBreak(MacroAssembler* masm) { 326 void Debug::GenerateCallFunctionStubRecordDebugBreak(MacroAssembler* masm) {
327 // Register state for CallFunctionStub (from code-stubs-a64.cc). 327 // Register state for CallFunctionStub (from code-stubs-a64.cc).
328 // ----------- S t a t e ------------- 328 // ----------- S t a t e -------------
329 // -- x1 : function 329 // -- x1 : function
330 // -- x2 : cache cell for call target 330 // -- x2 : feedback array
331 // -- x3 : slot in feedback array
331 // ----------------------------------- 332 // -----------------------------------
332 Generate_DebugBreakCallHelper(masm, x1.Bit() | x2.Bit(), 0, x10); 333 Generate_DebugBreakCallHelper(masm, x1.Bit() | x2.Bit() | x3.Bit(), 0, x10);
333 } 334 }
334 335
335 336
336 void Debug::GenerateCallConstructStubDebugBreak(MacroAssembler* masm) { 337 void Debug::GenerateCallConstructStubDebugBreak(MacroAssembler* masm) {
337 // Calling convention for CallConstructStub (from code-stubs-a64.cc). 338 // Calling convention for CallConstructStub (from code-stubs-a64.cc).
338 // ----------- S t a t e ------------- 339 // ----------- S t a t e -------------
339 // -- x0 : number of arguments (not smi) 340 // -- x0 : number of arguments (not smi)
340 // -- x1 : constructor function 341 // -- x1 : constructor function
341 // ----------------------------------- 342 // -----------------------------------
342 Generate_DebugBreakCallHelper(masm, x1.Bit(), x0.Bit(), x10); 343 Generate_DebugBreakCallHelper(masm, x1.Bit(), x0.Bit(), x10);
343 } 344 }
344 345
345 346
346 void Debug::GenerateCallConstructStubRecordDebugBreak(MacroAssembler* masm) { 347 void Debug::GenerateCallConstructStubRecordDebugBreak(MacroAssembler* masm) {
347 // Calling convention for CallConstructStub (from code-stubs-a64.cc). 348 // Calling convention for CallConstructStub (from code-stubs-a64.cc).
348 // ----------- S t a t e ------------- 349 // ----------- S t a t e -------------
349 // -- x0 : number of arguments (not smi) 350 // -- x0 : number of arguments (not smi)
350 // -- x1 : constructor function 351 // -- x1 : constructor function
351 // -- x2 : cache cell for call target 352 // -- x2 : feedback array
353 // -- x3 : feedback slot (smi)
352 // ----------------------------------- 354 // -----------------------------------
353 Generate_DebugBreakCallHelper(masm, x1.Bit() | x2.Bit(), x0.Bit(), x10); 355 Generate_DebugBreakCallHelper(
356 masm, x1.Bit() | x2.Bit() | x3.Bit(), x0.Bit(), x10);
354 } 357 }
355 358
356 359
357 void Debug::GenerateSlot(MacroAssembler* masm) { 360 void Debug::GenerateSlot(MacroAssembler* masm) {
358 // Generate enough nop's to make space for a call instruction. Avoid emitting 361 // Generate enough nop's to make space for a call instruction. Avoid emitting
359 // the constant pool in the debug break slot code. 362 // the constant pool in the debug break slot code.
360 InstructionAccurateScope scope(masm, Assembler::kDebugBreakSlotInstructions); 363 InstructionAccurateScope scope(masm, Assembler::kDebugBreakSlotInstructions);
361 364
362 __ RecordDebugBreakSlot(); 365 __ RecordDebugBreakSlot();
363 for (int i = 0; i < Assembler::kDebugBreakSlotInstructions; i++) { 366 for (int i = 0; i < Assembler::kDebugBreakSlotInstructions; i++) {
(...skipping 18 matching lines...) Expand all
382 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnA64); 385 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnA64);
383 } 386 }
384 387
385 const bool Debug::kFrameDropperSupported = false; 388 const bool Debug::kFrameDropperSupported = false;
386 389
387 #endif // ENABLE_DEBUGGER_SUPPORT 390 #endif // ENABLE_DEBUGGER_SUPPORT
388 391
389 } } // namespace v8::internal 392 } } // namespace v8::internal
390 393
391 #endif // V8_TARGET_ARCH_A64 394 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/code-stubs-a64.cc ('k') | src/a64/full-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698