In revision 15142, the V8_USE_UNSAFE_HANDLES define is removed.
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 24 Jun 2013 14:21:14 +0000 (14:21 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 24 Jun 2013 14:21:14 +0000 (14:21 +0000)
commita0f41ad31a1b3129817a7be3e246d63ab466093d
treea9aeb19b438b7ddecc9790fd6616cff6e8d8b72a
parente6e0ee07089fb85909ae85cc43512a83154bc1e2
In revision 15142, the V8_USE_UNSAFE_HANDLES define is removed.

So in the vtune support code ( in vtune-jit.cc file)v8::Handle<T* value> consturctor cannot be invoked directly.
We use "->ToString()" to create the Handle<String> object  to fix the compilation error.

R=danno@chromium.org

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

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15299 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/third_party/vtune/vtune-jit.cc