Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index dce817129c0d339b686b1423015e6525dbb94fc4..9642325065d684544e699274c244e01cf2335d0d 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -144,7 +144,8 @@ Code::Flags CompilationInfo::flags() const { |
return Code::ComputeFlags(code_stub()->GetCodeKind(), |
code_stub()->GetICState(), |
code_stub()->GetExtraICState(), |
- Code::NORMAL, -1); |
+ code_stub()->GetStubType(), |
+ code_stub()->GetStubFlags()); |
} else { |
return Code::ComputeFlags(Code::OPTIMIZED_FUNCTION); |
} |