| Index: src/gdb-jit.cc
|
| diff --git a/src/gdb-jit.cc b/src/gdb-jit.cc
|
| index d08f2fe41862dda46f6107e9e2eecd576a3a7cc4..5717a960793b2506b4e51b8c4e2b1b35c8956fa6 100644
|
| --- a/src/gdb-jit.cc
|
| +++ b/src/gdb-jit.cc
|
| @@ -2062,7 +2062,7 @@ void GDBJITInterface::AddCode(const char* name,
|
| if (!FLAG_gdbjit) return;
|
|
|
| ScopedLock lock(mutex.Pointer());
|
| - AssertNoAllocation no_gc;
|
| + DisallowHeapAllocation no_gc;
|
|
|
| HashMap::Entry* e = GetEntries()->Lookup(code, HashForCodeObject(code), true);
|
| if (e->value != NULL && !IsLineInfoTagged(e->value)) return;
|
|
|