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

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: 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
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 3481 matching lines...) Expand 10 before | Expand all | Expand 10 after
3492 LPointerMap* pointers = instr->pointer_map(); 3492 LPointerMap* pointers = instr->pointer_map();
3493 RecordPosition(pointers->position()); 3493 RecordPosition(pointers->position());
3494 SafepointGenerator safepoint_generator( 3494 SafepointGenerator safepoint_generator(
3495 this, pointers, Safepoint::kLazyDeopt); 3495 this, pointers, Safepoint::kLazyDeopt);
3496 ParameterCount actual(eax); 3496 ParameterCount actual(eax);
3497 __ InvokeFunction(function, actual, CALL_FUNCTION, 3497 __ InvokeFunction(function, actual, CALL_FUNCTION,
3498 safepoint_generator, CALL_AS_METHOD); 3498 safepoint_generator, CALL_AS_METHOD);
3499 } 3499 }
3500 3500
3501 3501
3502 void LCodeGen::DoBreak(LBreak* instr) {
3503 __ int3();
3504 }
3505
3506
3502 void LCodeGen::DoPushArgument(LPushArgument* instr) { 3507 void LCodeGen::DoPushArgument(LPushArgument* instr) {
3503 LOperand* argument = instr->value(); 3508 LOperand* argument = instr->value();
3504 EmitPushTaggedOperand(argument); 3509 EmitPushTaggedOperand(argument);
3505 } 3510 }
3506 3511
3507 3512
3508 void LCodeGen::DoDrop(LDrop* instr) { 3513 void LCodeGen::DoDrop(LDrop* instr) {
3509 __ Drop(instr->count()); 3514 __ Drop(instr->count());
3510 } 3515 }
3511 3516
(...skipping 2993 matching lines...) Expand 10 before | Expand all | Expand 10 after
6505 FixedArray::kHeaderSize - kPointerSize)); 6510 FixedArray::kHeaderSize - kPointerSize));
6506 __ bind(&done); 6511 __ bind(&done);
6507 } 6512 }
6508 6513
6509 6514
6510 #undef __ 6515 #undef __
6511 6516
6512 } } // namespace v8::internal 6517 } } // namespace v8::internal
6513 6518
6514 #endif // V8_TARGET_ARCH_IA32 6519 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698