Index: src/compiler/js-operator.h |
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h |
index 500db9d120e318c15a049de9f764f74936332141..d32eb5a39108b7ead2b7224be6c0d241cc42a432 100644 |
--- a/src/compiler/js-operator.h |
+++ b/src/compiler/js-operator.h |
@@ -5,7 +5,6 @@ |
#ifndef V8_COMPILER_JS_OPERATOR_H_ |
#define V8_COMPILER_JS_OPERATOR_H_ |
-#include "src/compiler/linkage.h" |
#include "src/compiler/opcodes.h" |
#include "src/compiler/operator.h" |
#include "src/unique.h" |
@@ -49,9 +48,6 @@ struct LoadNamedParameters { |
struct CallParameters { |
int arity; |
CallFunctionFlags flags; |
- // TODO(jarin) Remove the deopt flag once we can deoptimize all JavaScript |
- // calls (specifically the FILTER_KEY call in ForInStatement). |
- CallDescriptor::DeoptimizationSupport can_deoptimize; |
}; |
// Interface for building JavaScript-level operators, e.g. directly from the |
@@ -107,9 +103,8 @@ class JSOperatorBuilder { |
Operator* Create() { SIMPLE(JSCreate, Operator::kEliminatable, 0, 1); } |
- Operator* Call(int arguments, CallFunctionFlags flags, |
- CallDescriptor::DeoptimizationSupport can_deoptimize) { |
- CallParameters parameters = {arguments, flags, can_deoptimize}; |
+ Operator* Call(int arguments, CallFunctionFlags flags) { |
+ CallParameters parameters = {arguments, flags}; |
OP1(JSCallFunction, CallParameters, parameters, Operator::kNoProperties, |
arguments, 1); |
} |