Also lookup properties in the prototype by index
authorLars Knoll <lars.knoll@digia.com>
Tue, 12 Feb 2013 21:25:39 +0000 (22:25 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Tue, 12 Feb 2013 21:49:40 +0000 (22:49 +0100)
commitbeda28a8561258188ae8c4473db2a8b5c01d96ed
tree280613952a42c55c77b98cedb9c1314158fe10a7
parent149459788a577756a35a9908f79b4e9df09a0f1d
Also lookup properties in the prototype by index

We can only do this when getting properties, as setting
values will always happen on the main object.

Change-Id: I0336dd393bf78144d54ed8b6008011a7046e325d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/v4/qmljs_runtime.cpp
src/v4/qv4functionobject.h
src/v4/qv4isel_masm.cpp