Reviewers: Yury Semikhatsky, Description: [Isolates] Fix auto extraction of isolate from heap objects in handle constructor.
My previous attempt used Handle(T*) and Handle(HeapObject*) overloads, but since T is a class template parameter (and not just a paramer of the constructor) the first signature is preferred when the argument is convertible to T*. This patch exposed an issue with SaveContext which created a handle pointing to NULL context. Bonus: a few lint fixes. Please review this at http://codereview.chromium.org/3788008/show Affected files: M src/bootstrapper.cc M src/debug.h M src/debug.cc M src/execution.cc M src/handles-inl.h M src/handles.h M src/heap-inl.h M src/isolate.h M src/jsregexp.cc M src/runtime.cc M src/string-search.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
