Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 9658e8341faab9202e61cf0b332aec9b9a16b32b..db305c4f92d1a329a68bc634d2de4895f348b167 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_; |
@@ -2203,6 +2194,9 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
// Try to optimize fun.apply(receiver, arguments) pattern. |
bool TryCallApply(Call* expr); |
+ HValue* ImplicitReceiverFor(HValue* function, |
+ Handle<JSFunction> target); |
+ |
int InliningAstSize(Handle<JSFunction> target); |
bool TryInline(CallKind call_kind, |
Handle<JSFunction> target, |
@@ -2503,9 +2497,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_; |