[turbofan] Use context specialization in code stubs

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

Cr-Commit-Position: refs/heads/master@{#29601}
This commit is contained in:
danno 2015-07-13 05:29:37 -07:00 committed by Commit bot
parent c59fdf929c
commit 080d8f6566

View File

@ -505,6 +505,7 @@ Handle<Code> TurboFanCodeStub::GenerateCode() {
ParseInfo parse_info(&zone, inner);
CompilationInfo info(&parse_info);
info.SetFunctionType(GetCallInterfaceDescriptor().GetFunctionType());
info.MarkAsContextSpecializing();
info.SetStub(this);
return info.GenerateCodeStub();
}