Index: src/ic/access-compiler.h |
diff --git a/src/ic/access-compiler.h b/src/ic/access-compiler.h |
index 928b70b7499278e14b4ba4e7aa696faddb358cd2..dd1baade349d7ca5d512de8dee88721620852d36 100644 |
--- a/src/ic/access-compiler.h |
+++ b/src/ic/access-compiler.h |
@@ -40,7 +40,10 @@ class PropertyAccessCompiler BASE_EMBEDDED { |
kind_(kind), |
cache_holder_(cache_holder), |
isolate_(isolate), |
- masm_(isolate, NULL, 256) {} |
+ masm_(isolate, NULL, 256) { |
+ // TODO(yangguo): remove this once we can serialize IC stubs. |
+ masm_.enable_serializer(); |
+ } |
Code::Kind kind() const { return kind_; } |
CacheHolderFlag cache_holder() const { return cache_holder_; } |