From 1a3bbebadea1fc3b5727faa41858cf5c1b9dbc14 Mon Sep 17 00:00:00 2001 From: "vegorov@chromium.org" Date: Fri, 8 Apr 2011 11:25:19 +0000 Subject: [PATCH] Fix compilation with gdbjit=on. Ensure mutual exclusion on access to GDBJITInterface internal structures to make it work correctly with several isolates. Review URL: http://codereview.chromium.org/6816053 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7557 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler.cc | 2 +- src/gdb-jit.cc | 7 +++++++ src/gdb-jit.h | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/compiler.cc b/src/compiler.cc index 5058af7..4f18eac 100755 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -784,7 +784,7 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag, } } - GDBJIT(AddCode(name, + GDBJIT(AddCode(Handle(shared->DebugName()), Handle