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/x64/lithium-codegen-x64.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/runtime.cc ('k') | no next file » | 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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 ASSERT(info()->IsOptimizing() || info()->IsStub()); 699 ASSERT(info()->IsOptimizing() || info()->IsStub());
700 Address entry = 700 Address entry =
701 Deoptimizer::GetDeoptimizationEntry(isolate(), id, bailout_type); 701 Deoptimizer::GetDeoptimizationEntry(isolate(), id, bailout_type);
702 if (entry == NULL) { 702 if (entry == NULL) {
703 Abort("bailout was not prepared"); 703 Abort("bailout was not prepared");
704 return; 704 return;
705 } 705 }
706 706
707 ASSERT(FLAG_deopt_every_n_times == 0); // Not yet implemented on x64. 707 ASSERT(FLAG_deopt_every_n_times == 0); // Not yet implemented on x64.
708 708
709 if (FLAG_trap_on_deopt) { 709 if (FLAG_trap_on_deopt && info()->IsOptimizing()) {
710 Label done; 710 Label done;
711 if (cc != no_condition) { 711 if (cc != no_condition) {
712 __ j(NegateCondition(cc), &done, Label::kNear); 712 __ j(NegateCondition(cc), &done, Label::kNear);
713 } 713 }
714 __ int3(); 714 __ int3();
715 __ bind(&done); 715 __ bind(&done);
716 } 716 }
717 717
718 ASSERT(info()->IsStub() || frame_is_built_); 718 ASSERT(info()->IsStub() || frame_is_built_);
719 bool needs_lazy_deopt = info()->IsStub(); 719 bool needs_lazy_deopt = info()->IsStub();
(...skipping 4884 matching lines...) Expand 10 before | Expand all | Expand 10 after
5604 FixedArray::kHeaderSize - kPointerSize)); 5604 FixedArray::kHeaderSize - kPointerSize));
5605 __ bind(&done); 5605 __ bind(&done);
5606 } 5606 }
5607 5607
5608 5608
5609 #undef __ 5609 #undef __
5610 5610
5611 } } // namespace v8::internal 5611 } } // namespace v8::internal
5612 5612
5613 #endif // V8_TARGET_ARCH_X64 5613 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698