Description[runtime] %TransitionElementsKind works for any kind of JSObject.
The optimizing compilers actually invoke %TransitionElementsKind for
any kind of JSObject, the only relevant thing is the elements kind.
The runtime function was however checking for JSArray unnecessarily.
This only worked by coincindence in Crankshaft because the stub would
normally not call into the runtime fallback.
R=jarin@chromium.org
BUG=chromium:629823
Committed: https://crrev.com/f793cb1fc36f7ab0929b476e2ca66f2c176376b1
Cr-Commit-Position: refs/heads/master@{#37919}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|