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

Side by Side Diff: src/ia32/macro-assembler-ia32.cc

Issue 2650193002: [debugger] remove debugger statement support from FCG/CS. (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/base/division-by-constant.h" 8 #include "src/base/division-by-constant.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 // Restore caller-saved registers. 666 // Restore caller-saved registers.
667 PopCallerSaved(kDontSaveFPRegs, js_function, code_entry); 667 PopCallerSaved(kDontSaveFPRegs, js_function, code_entry);
668 668
669 // Restore input registers. 669 // Restore input registers.
670 pop(code_entry); 670 pop(code_entry);
671 pop(js_function); 671 pop(js_function);
672 672
673 bind(&done); 673 bind(&done);
674 } 674 }
675 675
676 void MacroAssembler::DebugBreak() {
677 Move(eax, Immediate(0));
678 mov(ebx, Immediate(ExternalReference(Runtime::kHandleDebuggerStatement,
679 isolate())));
680 CEntryStub ces(isolate(), 1);
681 call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT);
682 }
683
684 void MacroAssembler::Cvtsi2sd(XMMRegister dst, const Operand& src) { 676 void MacroAssembler::Cvtsi2sd(XMMRegister dst, const Operand& src) {
685 xorps(dst, dst); 677 xorps(dst, dst);
686 cvtsi2sd(dst, src); 678 cvtsi2sd(dst, src);
687 } 679 }
688 680
689 681
690 void MacroAssembler::Cvtui2ss(XMMRegister dst, Register src, Register tmp) { 682 void MacroAssembler::Cvtui2ss(XMMRegister dst, Register src, Register tmp) {
691 Label msb_set_src; 683 Label msb_set_src;
692 Label jmp_return; 684 Label jmp_return;
693 test(src, src); 685 test(src, src);
(...skipping 2253 matching lines...) Expand 10 before | Expand all | Expand 10 after
2947 mov(eax, dividend); 2939 mov(eax, dividend);
2948 shr(eax, 31); 2940 shr(eax, 31);
2949 add(edx, eax); 2941 add(edx, eax);
2950 } 2942 }
2951 2943
2952 2944
2953 } // namespace internal 2945 } // namespace internal
2954 } // namespace v8 2946 } // namespace v8
2955 2947
2956 #endif // V8_TARGET_ARCH_IA32 2948 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698