Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 357324b9037398e2294fa304f15d6903e079001b..9832650f42d40d96c399725cf5df15657caecc21 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -111,6 +111,8 @@ Handle<Code> PlatformCodeStub::GenerateCode() { |
// Generate the code for the stub. |
masm.set_generating_stub(true); |
+ // TODO(yangguo): remove this once we can serialize IC stubs. |
+ masm.enable_serializer(); |
NoCurrentFrameScope scope(&masm); |
Generate(&masm); |
} |