Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 21a653e7b61e126bb9a477a65a729aa5d29a5422..a05d57856c7ee9d8400a1293d6bcb23206993a6b 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -6,6 +6,7 @@ |
#include "src/ic/call-optimization.h" |
#include "src/ic/handler-compiler.h" |
+#include "src/ic/ic.h" |
#include "src/ic/ic-inl.h" |
namespace v8 { |
@@ -78,6 +79,11 @@ Handle<Code> PropertyHandlerCompiler::GetCode(Code::Kind kind, |
} |
+void PropertyHandlerCompiler::set_type_for_object(Handle<Object> object) { |
+ type_ = IC::CurrentTypeOf(object, isolate()); |
+} |
+ |
+ |
#define __ ACCESS_MASM(masm()) |