Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index e2ea93354688c3fd82a379cf91321995f50918f4..0115d988272c44e64f326d6f7377619824f2ea41 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1762,25 +1762,11 @@ class Call V8_FINAL : public Expression, public FeedbackSlotInterface { |
return !target_.is_null(); |
} |
- bool global_call() const { |
- VariableProxy* proxy = expression_->AsVariableProxy(); |
- return proxy != NULL && proxy->var()->IsUnallocated(); |
- } |
- |
- bool known_global_function() const { |
- return global_call() && !target_.is_null(); |
- } |
- |
Handle<JSFunction> target() { return target_; } |
Handle<Cell> cell() { return cell_; } |
- Handle<AllocationSite> allocation_site() { return allocation_site_; } |
- |
void set_target(Handle<JSFunction> target) { target_ = target; } |
- void set_allocation_site(Handle<AllocationSite> site) { |
- allocation_site_ = site; |
- } |
bool ComputeGlobalTarget(Handle<GlobalObject> global, LookupResult* lookup); |
BailoutId ReturnId() const { return return_id_; } |
@@ -1823,7 +1809,6 @@ class Call V8_FINAL : public Expression, public FeedbackSlotInterface { |
Handle<JSFunction> target_; |
Handle<Cell> cell_; |
- Handle<AllocationSite> allocation_site_; |
int call_feedback_slot_; |
const BailoutId return_id_; |