| Index: src/handles.h
|
| diff --git a/src/handles.h b/src/handles.h
|
| index 0f619d572e3e7f7b6ddee2929f4d3951cdeba339..c1400ed841c4f8d842ba4731ca0c27b6d7533658 100644
|
| --- a/src/handles.h
|
| +++ b/src/handles.h
|
| @@ -177,7 +177,7 @@ class HandleScope {
|
| // Extend the handle scope making room for more handles.
|
| static internal::Object** Extend(Isolate* isolate);
|
|
|
| -#ifdef ENABLE_EXTRA_CHECKS
|
| +#ifdef ENABLE_HANDLE_ZAPPING
|
| // Zaps the handles in the half-open interval [start, end).
|
| static void ZapRange(Object** start, Object** end);
|
| #endif
|
| @@ -321,6 +321,9 @@ Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table,
|
| Handle<Object> key,
|
| Handle<Object> value);
|
|
|
| +void AddWeakObjectToCodeDependency(Heap* heap,
|
| + Handle<Object> object,
|
| + Handle<Code> code);
|
|
|
| // Seal off the current HandleScope so that new handles can only be created
|
| // if a new HandleScope is entered.
|
|
|