PropertyAccessCompiler should always emit reloc info for external references.
authorYang Guo <yangguo@chromium.org>
Thu, 13 Nov 2014 15:37:25 +0000 (16:37 +0100)
committerYang Guo <yangguo@chromium.org>
Thu, 13 Nov 2014 15:37:37 +0000 (15:37 +0000)
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/727483002

Cr-Commit-Position: refs/heads/master@{#25333}

src/ic/access-compiler.h

index 928b70b..dd1baad 100644 (file)
@@ -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_; }