Commit a99a9b27 authored by Shu-yu Guo's avatar Shu-yu Guo Committed by Commit Bot

Fix ToInteger_Inline to call builtin instead of ToIntegerImpl

Previous commit incorrectly inlined ToIntegerImpl into ToInteger_Inline,
causing code bloat.

Bug: chromium:1059364
Change-Id: I7bc369255a29a7ea567fafc775835c37584905b3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2092843
Auto-Submit: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66637}
parent 0ea5b524
......@@ -473,7 +473,7 @@ transitioning macro ToInteger_Inline(implicit context: Context)(input: Object):
return s;
}
case (ho: HeapObject): {
return ToIntegerImpl(ho);
return ToInteger(ho);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment