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

Side by Side Diff: src/ia32/lithium-codegen-ia32.cc

Issue 14997008: Add a HBreak instruction for debugging (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 7 years, 7 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/hydrogen-instructions.h ('k') | src/ia32/lithium-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 3482 matching lines...) Expand 10 before | Expand all | Expand 10 after
3493 LPointerMap* pointers = instr->pointer_map(); 3493 LPointerMap* pointers = instr->pointer_map();
3494 RecordPosition(pointers->position()); 3494 RecordPosition(pointers->position());
3495 SafepointGenerator safepoint_generator( 3495 SafepointGenerator safepoint_generator(
3496 this, pointers, Safepoint::kLazyDeopt); 3496 this, pointers, Safepoint::kLazyDeopt);
3497 ParameterCount actual(eax); 3497 ParameterCount actual(eax);
3498 __ InvokeFunction(function, actual, CALL_FUNCTION, 3498 __ InvokeFunction(function, actual, CALL_FUNCTION,
3499 safepoint_generator, CALL_AS_METHOD); 3499 safepoint_generator, CALL_AS_METHOD);
3500 } 3500 }
3501 3501
3502 3502
3503 void LCodeGen::DoDebugBreak(LDebugBreak* instr) {
3504 __ int3();
3505 }
3506
3507
3503 void LCodeGen::DoPushArgument(LPushArgument* instr) { 3508 void LCodeGen::DoPushArgument(LPushArgument* instr) {
3504 LOperand* argument = instr->value(); 3509 LOperand* argument = instr->value();
3505 EmitPushTaggedOperand(argument); 3510 EmitPushTaggedOperand(argument);
3506 } 3511 }
3507 3512
3508 3513
3509 void LCodeGen::DoDrop(LDrop* instr) { 3514 void LCodeGen::DoDrop(LDrop* instr) {
3510 __ Drop(instr->count()); 3515 __ Drop(instr->count());
3511 } 3516 }
3512 3517
(...skipping 2993 matching lines...) Expand 10 before | Expand all | Expand 10 after
6506 FixedArray::kHeaderSize - kPointerSize)); 6511 FixedArray::kHeaderSize - kPointerSize));
6507 __ bind(&done); 6512 __ bind(&done);
6508 } 6513 }
6509 6514
6510 6515
6511 #undef __ 6516 #undef __
6512 6517
6513 } } // namespace v8::internal 6518 } } // namespace v8::internal
6514 6519
6515 #endif // V8_TARGET_ARCH_IA32 6520 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698