Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 9658e8341faab9202e61cf0b332aec9b9a16b32b..73c4962b74b2b1ed7a684a82e39ccb99ec854b83 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -640,16 +640,7 @@ class HEnvironment V8_FINAL : public ZoneObject { |
int arguments, |
FunctionLiteral* function, |
HConstant* undefined, |
- InliningKind inlining_kind, |
- bool undefined_receiver) const; |
- |
- static bool UseUndefinedReceiver(Handle<JSFunction> closure, |
- FunctionLiteral* function, |
- CallKind call_kind, |
- InliningKind inlining_kind) { |
- return (closure->shared()->native() || !function->is_classic_mode()) && |
- call_kind == CALL_AS_FUNCTION && inlining_kind != CONSTRUCT_CALL_RETURN; |
- } |
+ InliningKind inlining_kind) const; |
HEnvironment* DiscardInlined(bool drop_extra) { |
HEnvironment* outer = outer_; |
@@ -2503,9 +2494,6 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
HValue* receiver, |
Handle<Map> receiver_map); |
- void InstallGlobalReceiverInExpressionStack(int index, |
- Handle<JSFunction> function); |
- |
// The translation state of the currently-being-translated function. |
FunctionState* function_state_; |