• yurys@chromium.org's avatar
    CPU profiler should support names of accessors set via v8::Object::SetAccessor · 106a4774
    yurys@chromium.org authored
    This change fixes the case when the accessors are invoked from JSObject::{Get,Set}PropertyWithCallback.
    
    It already works for inlined calls generated by StoreStubCompiler::CompileStoreCallback. The same still needs to be fixed for getter invocations generated by  BaseLoadStubCompiler::CompileLoadCallback, corresponding case is commented out in the new test.
    
    This is a slightly modified version of r14915 which was rolled back due to test timeout on Windows. Compared to r14915 the new tests use OS::TimeCurrentMillis instead of OS::Ticks as OS::Ticks has ms precision on Windows and trying to wait 10 ticks (us) will result in at least 1 ms pause.
    
    BUG=244580
    R=jkummerow@chromium.org, loislo@chromium.org
    
    Review URL: https://codereview.chromium.org/15995017
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14932 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    106a4774
objects.cc 533 KB