Index: src/ic/handler-compiler.h |
diff --git a/src/ic/handler-compiler.h b/src/ic/handler-compiler.h |
index 04493e483be54166a7b1557a5e83000c4d9c486c..f033f3f2d96d7ebeacf16c103c74c063ded1a1f4 100644 |
--- a/src/ic/handler-compiler.h |
+++ b/src/ic/handler-compiler.h |
@@ -6,6 +6,7 @@ |
#define V8_IC_HANDLER_COMPILER_H_ |
#include "src/ic/access-compiler.h" |
+#include "src/ic/ic-state.h" |
namespace v8 { |
namespace internal { |
@@ -85,9 +86,7 @@ class PropertyHandlerCompiler : public PropertyAccessCompiler { |
PrototypeCheckType check = CHECK_ALL_MAPS); |
Handle<Code> GetCode(Code::Kind kind, Code::StubType type, Handle<Name> name); |
- void set_type_for_object(Handle<Object> object) { |
- type_ = IC::CurrentTypeOf(object, isolate()); |
- } |
+ void set_type_for_object(Handle<Object> object); |
void set_holder(Handle<JSObject> holder) { holder_ = holder; } |
Handle<HeapType> type() const { return type_; } |
Handle<JSObject> holder() const { return holder_; } |