Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 6402f86d341919e6f16fb3ba33db96d819ae5458..b63be56dca8f51598712e7a19b9f22af56063bb7 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4579,9 +4579,10 @@ class ScopeInfo : public FixedArray { |
// returns a value < 0. The name must be an internalized string. |
// If the slot is present and mode != NULL, sets *mode to the corresponding |
// mode for that variable. |
- int ContextSlotIndex(String* name, |
- VariableMode* mode, |
- InitializationFlag* init_flag); |
+ static int ContextSlotIndex(Handle<ScopeInfo> scope_info, |
+ Handle<String> name, |
+ VariableMode* mode, |
+ InitializationFlag* init_flag); |
// Lookup support for serialized scope info. Returns the |
// parameter index for a given parameter name if the parameter is present; |