Reviewers: alph, loislo, Toon Verwaest, dcarney,
Description:
Notify CPU profiler when calling native getters
This change modifies code produced by
BaseLoadStubCompiler::GenerateLoadCallback
so that instead of calling AccessorGetter direcly it calls
InvokeAccessorGetter
which changes VM state and calls the actual callback. This way CPU profiler
knows which external callback is being executed in this case.
BUG=244580
Please review this at https://codereview.chromium.org/16286016/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/arm/code-stubs-arm.cc
M src/arm/simulator-arm.cc
M src/arm/stub-cache-arm.cc
M src/assembler.h
M src/assembler.cc
M src/ia32/stub-cache-ia32.cc
M src/ic.h
M src/ic.cc
M src/mips/simulator-mips.cc
M src/mips/stub-cache-mips.cc
M src/x64/stub-cache-x64.cc
M test/cctest/test-cpu-profiler.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.