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
This commit is contained in:
parent
ac07895213
commit
82078339b3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user