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

Unified Diff: src/x64/lithium-x64.h

Issue 14791014: Deoptimized by soft deoptimize should not affect the opt count (Closed) Base URL: http://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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/lithium-x64.h
===================================================================
--- src/x64/lithium-x64.h (revision 14601)
+++ src/x64/lithium-x64.h (working copy)
@@ -433,7 +433,15 @@
class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
public:
+ explicit LDeoptimize(bool soft_deopt = false) {
+ soft_deopt_ = soft_deopt;
+ }
+
+ bool is_soft_deopt() const { return soft_deopt_; }
DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
+
+ private:
+ bool soft_deopt_;
};
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698