DescriptionSearch prototypes for accessor setters if interceptor returns empty value.
Extract the part of SetPropertyForResult that searches the prototype chain
for accessor setters into a separate function SetPropertyInPrototypes.
Call this function in SetPropertyPostInterceptor.
This should fix both optimized and unoptimized cases because
the cache stub for storing with interceptor calls the runtime system.
BUG=v8:1636
TEST=cctest/test-api.cc/EmptyInterceptorDoesNotShadowAccessors
Committed: http://code.google.com/p/v8/source/detail?r=9431
Patch Set 1 #
Total comments: 28
Patch Set 2 : Addressed style comments. #
Total comments: 6
Patch Set 3 : Addressed review comments. #Patch Set 4 : Initialize 'found'. #
Messages
Total messages: 8 (0 generated)
|