Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 476bd05e7395afa602c8b0e5b179ec7b0443b0b8..d9a6884fad1dbb68c46a2666f0665c453003adef 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -364,7 +364,8 @@ void FullCodeGenerator::Generate() { |
__ cmp(sp, Operand(ip)); |
__ b(hs, &ok); |
Handle<Code> stack_check = isolate()->builtins()->StackCheck(); |
- PredictableCodeSizeScope predictable(masm_, |
+ PredictableCodeSizeScope predictable(masm_); |
+ predictable.ExpectSize( |
masm_->CallSize(stack_check, RelocInfo::CODE_TARGET)); |
__ Call(stack_check, RelocInfo::CODE_TARGET); |
__ bind(&ok); |