From 0e99e77143c67b2d8c33f72f80398b5af303b92b Mon Sep 17 00:00:00 2001 From: "svenpanne@chromium.org" Date: Wed, 17 Jul 2013 08:02:08 +0000 Subject: [PATCH] Removed unused HOptimizedGraphBuilder::BuildCallSetter method. R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/19235011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/hydrogen.cc | 13 ------------- src/hydrogen.h | 5 ----- 2 files changed, 18 deletions(-) diff --git a/src/hydrogen.cc b/src/hydrogen.cc index de7ba1d..54b5c12 100644 --- a/src/hydrogen.cc +++ b/src/hydrogen.cc @@ -4611,19 +4611,6 @@ HInstruction* HOptimizedGraphBuilder::BuildStoreNamedGeneric( } -HInstruction* HOptimizedGraphBuilder::BuildCallSetter( - HValue* object, - HValue* value, - Handle map, - Handle setter, - Handle holder) { - AddCheckConstantFunction(holder, object, map); - Add(object); - Add(value); - return new(zone()) HCallConstantFunction(setter, 2); -} - - HInstruction* HOptimizedGraphBuilder::BuildStoreNamedMonomorphic( HValue* object, Handle name, diff --git a/src/hydrogen.h b/src/hydrogen.h index 2b92dd2..09700ef 100644 --- a/src/hydrogen.h +++ b/src/hydrogen.h @@ -1842,11 +1842,6 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { HInstruction* BuildStoreNamedGeneric(HValue* object, Handle name, HValue* value); - HInstruction* BuildCallSetter(HValue* object, - HValue* value, - Handle map, - Handle setter, - Handle holder); HInstruction* BuildStoreNamedMonomorphic(HValue* object, Handle name, HValue* value, -- 2.7.4