[turbofan] Add inlining guards to Runtime_NewArguments.
authormstarzinger <mstarzinger@chromium.org>
Wed, 16 Sep 2015 11:32:54 +0000 (04:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Sep 2015 11:33:06 +0000 (11:33 +0000)
commitd0e77b290922fb4f2978d4635e7269447b593e71
tree77f3a7473f70791f177139485711282614c76029
parent6209753c74ee81f8310f4009bf30cade6b88b214
[turbofan] Add inlining guards to Runtime_NewArguments.

This adds debug code that makes sure that the runtime functions that
materialize arguments objects, {Runtime_New[Sloppy|Strict]Arguments},
are not being called from within an inlined scope. They would produce
wrong results and we should avoid producing code that does this.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/1343763002

Cr-Commit-Position: refs/heads/master@{#30761}
src/frames.cc
src/frames.h
src/runtime/runtime-scopes.cc