Make JsNative1JsNative2JsSample cctest work on Win Release
authoralph@chromium.org <alph@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 1 Jul 2014 10:10:12 +0000 (10:10 +0000)
committeralph@chromium.org <alph@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 1 Jul 2014 10:10:12 +0000 (10:10 +0000)
commit6b1c0197766ccebdfd6fc28329a03483a477006f
tree79dd96b76a528c8c219084532ae401e704f518b9
parentcf094f48e984bcc2d51b9c6ab6157b04edb24261
Make JsNative1JsNative2JsSample cctest work on Win Release

MSVC optimization realizes that CallJsFunction2 is just the same as CallJsFunction, so it eliminates the former making the call stack contain two instances of the same function.

The patch makes two functions distinct.

LOG=N
BUG=v8:3055
R=aandrey@chromium.org, jkummerow@chromium.org, yurys@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22113 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
test/cctest/cctest.status
test/cctest/test-cpu-profiler.cc