Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 04f6e6d9be480dd4703e9b8ef6317430cb3db021..a1534adb9b987ce6d074e1586b2d815024d1af1b 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5801,8 +5801,8 @@ void LCodeGen::DoStackCheck(LStackCheck* instr) { |
__ cmp(sp, Operand(ip)); |
__ b(hs, &done); |
Handle<Code> stack_check = isolate()->builtins()->StackCheck(); |
- PredictableCodeSizeScope predictable(masm(), |
- CallCodeSize(stack_check, RelocInfo::CODE_TARGET)); |
+ PredictableCodeSizeScope predictable(masm()); |
+ predictable.ExpectSize(CallCodeSize(stack_check, RelocInfo::CODE_TARGET)); |
DCHECK(instr->context()->IsRegister()); |
DCHECK(ToRegister(instr->context()).is(cp)); |
CallCode(stack_check, RelocInfo::CODE_TARGET, instr); |