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

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

Issue 16848020: Always reset allowed OSR nesting level when reverting interrupt code patches. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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/deoptimizer.cc ('k') | src/mips/lithium-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 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 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 __ jmp(entry, RelocInfo::RUNTIME_ENTRY); 894 __ jmp(entry, RelocInfo::RUNTIME_ENTRY);
895 895
896 __ bind(&no_deopt); 896 __ bind(&no_deopt);
897 __ mov(FieldOperand(ebx, SharedFunctionInfo::kStressDeoptCounterOffset), 897 __ mov(FieldOperand(ebx, SharedFunctionInfo::kStressDeoptCounterOffset),
898 eax); 898 eax);
899 __ pop(ebx); 899 __ pop(ebx);
900 __ pop(eax); 900 __ pop(eax);
901 __ popfd(); 901 __ popfd();
902 } 902 }
903 903
904 if (FLAG_trap_on_deopt) { 904 if (FLAG_trap_on_deopt && info()->IsOptimizing()) {
905 Label done; 905 Label done;
906 if (cc != no_condition) { 906 if (cc != no_condition) {
907 __ j(NegateCondition(cc), &done, Label::kNear); 907 __ j(NegateCondition(cc), &done, Label::kNear);
908 } 908 }
909 __ int3(); 909 __ int3();
910 __ bind(&done); 910 __ bind(&done);
911 } 911 }
912 912
913 ASSERT(info()->IsStub() || frame_is_built_); 913 ASSERT(info()->IsStub() || frame_is_built_);
914 if (cc == no_condition && frame_is_built_) { 914 if (cc == no_condition && frame_is_built_) {
(...skipping 5589 matching lines...) Expand 10 before | Expand all | Expand 10 after
6504 FixedArray::kHeaderSize - kPointerSize)); 6504 FixedArray::kHeaderSize - kPointerSize));
6505 __ bind(&done); 6505 __ bind(&done);
6506 } 6506 }
6507 6507
6508 6508
6509 #undef __ 6509 #undef __
6510 6510
6511 } } // namespace v8::internal 6511 } } // namespace v8::internal
6512 6512
6513 #endif // V8_TARGET_ARCH_IA32 6513 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698