| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index d96694cc53d6ae46ad19b0def6b51e3e3e786d9b..728d4807b74424cee083d35d8cac42f299c3747b 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;
|
|
|