-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=99631 <rdar://problem/12483221> Reviewed by Mark Hahnenberg. Source/JavaScriptCore: cti_get_by_val assumes that the return address has patching metadata associated with it, which won't be true for op_get_by_pname. cti_get_by_val_generic makes no such assumptions. * jit/JITPropertyAccess.cpp: (JSC::JIT::emitSlow_op_get_by_pname): * jit/JITPropertyAccess32_64.cpp: (JSC::JIT::emitSlow_op_get_by_pname): LayoutTests: * fast/js/get-by-pname-that-looks-like-a-patchable-get-by-val-expected.txt: Added. * fast/js/get-by-pname-that-looks-like-a-patchable-get-by-val.html: Added. * fast/js/jsc-test-list: * fast/js/script-tests/get-by-pname-that-looks-like-a-patchable-get-by-val.js: Added. (foo): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a2909633