Commit 82078339 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Properly propagate serialization flag when compiling hydrogen code stubs.

R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22637 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ac078952
......@@ -438,6 +438,8 @@ Handle<Code> LChunk::Codegen() {
LOG_CODE_EVENT(info()->isolate(),
CodeStartLinePosInfoRecordEvent(
assembler.positions_recorder()));
// TODO(yangguo) remove this once the code serializer handles code stubs.
if (info()->will_serialize()) assembler.enable_serializer();
LCodeGen generator(this, &assembler, info());
MarkEmptyBlocks();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment