If we're in code for accessing scoped arguments, we should probably check if the...
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Mar 2015 20:48:06 +0000 (20:48 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Mar 2015 20:48:06 +0000 (20:48 +0000)
commitb0277b39bd506580777882ab2047683651e8466d
treea1b7aa099c551e10341d1a73932e4a6a541184be
parentda7efb0eda35bc109942bc911774c718358d4ebb
If we're in code for accessing scoped arguments, we should probably check if the object is a scoped arguments rather than checking if it's a direct arguments.

Reviewed by Michael Saboff.

* jit/JITPropertyAccess.cpp:
(JSC::JIT::emitScopedArgumentsGetByVal):
* tests/stress/scoped-then-direct-arguments-get-by-val-in-baseline.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/JITPropertyAccess.cpp
Source/JavaScriptCore/tests/stress/scoped-then-direct-arguments-get-by-val-in-baseline.js [new file with mode: 0644]