Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 34d204a054b384a86a6553af4a4a1bc9258f55c4..4a401cdff150191864817cbed34cae8b28348e37 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -98,7 +98,10 @@ Handle<Code> PlatformCodeStub::GenerateCode() { |
// Copy the generated code into a heap object. |
Code::Flags flags = Code::ComputeFlags( |
- static_cast<Code::Kind>(GetCodeKind()), GetICState(), GetExtraICState()); |
+ static_cast<Code::Kind>(GetCodeKind()), |
+ GetICState(), |
+ GetExtraICState(), |
+ GetStubType()); |
Handle<Code> new_object = factory->NewCode( |
desc, flags, masm.CodeObject(), NeedsImmovableCode()); |
return new_object; |