Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 80fff3f26237cd3941eee70bf70434b875299adc..63488dc2b2d9362b270588a28c340ad17ac166df 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -233,6 +233,8 @@ Handle<Code> HydrogenCodeStub::GenerateLightweightMissCode( |
// 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); |
GenerateLightweightMiss(&masm, miss); |
} |