Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 436d1ab1a862bb76487e599b506f622a15cf660c..e25c0845afae4229d0e69e98e2e6f7a2e09e507d 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -5243,6 +5243,11 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
} |
+void CallFunctionStub::FinishCode(Handle<Code> code) { |
+ code->set_has_function_cache(RecordCallTarget()); |
+} |
+ |
+ |
void CallConstructStub::Generate(MacroAssembler* masm) { |
// r0 : number of arguments |
// r1 : the function to call |
@@ -5285,6 +5290,11 @@ void CallConstructStub::Generate(MacroAssembler* masm) { |
} |
+void CallConstructStub::FinishCode(Handle<Code> code) { |
+ code->set_has_function_cache(RecordCallTarget()); |
+} |
+ |
+ |
// Unfortunately you have to run without snapshots to see most of these |
// names in the profile since most compare stubs end up in the snapshot. |
void CompareStub::PrintName(StringStream* stream) { |