Index: src/handles.h |
diff --git a/src/handles.h b/src/handles.h |
index 358f1b5db2b5e9017d56b243c5c3a69819102ed1..8876de3c4615cb202483a1901bd93d0ab263914a 100644 |
--- a/src/handles.h |
+++ b/src/handles.h |
@@ -295,18 +295,19 @@ int GetScriptLineNumberSafe(Handle<Script> script, int code_position); |
// Computes the enumerable keys from interceptors. Used for debug mirrors and |
// by GetKeysInFixedArrayFor below. |
-v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSObject> receiver, |
+v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSReceiver> receiver, |
Handle<JSObject> object); |
-v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSObject> receiver, |
+v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSReceiver> receiver, |
Handle<JSObject> object); |
enum KeyCollectionType { LOCAL_ONLY, INCLUDE_PROTOS }; |
// Computes the enumerable keys for a JSObject. Used for implementing |
// "for (n in object) { }". |
-Handle<FixedArray> GetKeysInFixedArrayFor(Handle<JSObject> object, |
- KeyCollectionType type); |
-Handle<JSArray> GetKeysFor(Handle<JSObject> object); |
+Handle<FixedArray> GetKeysInFixedArrayFor(Handle<JSReceiver> object, |
+ KeyCollectionType type, |
+ bool* threw); |
+Handle<JSArray> GetKeysFor(Handle<JSReceiver> object, bool* threw); |
Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
bool cache_result); |