Index: src/global-handles.h |
diff --git a/src/global-handles.h b/src/global-handles.h |
index 3cca384652b918f45fdf92ddb8786aee30ce1783..cce4328e9fc67d181d5ac50805f295cb530aae3f 100644 |
--- a/src/global-handles.h |
+++ b/src/global-handles.h |
@@ -138,10 +138,10 @@ class GlobalHandles { |
// function is invoked (for each handle) with the handle and corresponding |
// parameter as arguments. Note: cleared means set to Smi::FromInt(0). The |
// reason is that Smi::FromInt(0) does not change during garage collection. |
- void MakeWeak(Object** location, |
- void* parameter, |
- RevivableCallback weak_reference_callback, |
- NearDeathCallback near_death_callback); |
+ static void MakeWeak(Object** location, |
+ void* parameter, |
+ RevivableCallback weak_reference_callback, |
+ NearDeathCallback near_death_callback); |
void RecordStats(HeapStats* stats); |
@@ -158,13 +158,13 @@ class GlobalHandles { |
} |
// Clear the weakness of a global handle. |
- void ClearWeakness(Object** location); |
+ static void ClearWeakness(Object** location); |
// Clear the weakness of a global handle. |
- void MarkIndependent(Object** location); |
+ static void MarkIndependent(Object** location); |
// Mark the reference to this object externaly unreachable. |
- void MarkPartiallyDependent(Object** location); |
+ static void MarkPartiallyDependent(Object** location); |
static bool IsIndependent(Object** location); |