v8/include
kozyatinskiy 89e859fb2b [V8] Unify get function name for debugging purpose
Following logic is using for getting function name in JSFunction::GetDebugName:
1. if function has displayName and its type is string then use it
2. if function has defined property Function.name as value and its type string then use it
3. otherwise use SharedFunctionInfo::DebugName as functionName.

JSFunction::GetDebugName is exposed in V8 API and in FunctionMirror interface.

BUG=chromium:17356
R=yangguo@chromium.org,mstarzinger@chromium.org
LOG=Y

Review URL: https://codereview.chromium.org/1449473005

Cr-Commit-Position: refs/heads/master@{#32124}
2015-11-19 19:32:38 +00:00
..
libplatform Revert "Forward declaration for Isolate / Platform in libplatform.h." and "Fixes d8 on windows following.". 2014-11-19 07:28:07 +00:00
OWNERS Add myself to include/OWNERS 2015-04-21 10:05:59 +00:00
v8-debug.h [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
v8-platform.h Add IdleTask API to v8::Platform. 2015-07-15 11:51:03 +00:00
v8-profiler.h [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
v8-testing.h [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
v8-util.h [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
v8-version.h Update version to 4.9 2015-11-13 14:27:28 +00:00
v8.h [V8] Unify get function name for debugging purpose 2015-11-19 19:32:38 +00:00
v8config.h Reland: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. 2015-10-08 19:03:24 +00:00