OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 Handle<Object> GetPrototype(Handle<Object> obj); | 212 Handle<Object> GetPrototype(Handle<Object> obj); |
213 | 213 |
214 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); | 214 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); |
215 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); | 215 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); |
216 | 216 |
217 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); | 217 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); |
218 | 218 |
219 Handle<JSObject> Copy(Handle<JSObject> obj); | 219 Handle<JSObject> Copy(Handle<JSObject> obj); |
220 | 220 |
| 221 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
| 222 Handle<JSArray> array); |
| 223 |
221 // Get the JS object corresponding to the given script; create it | 224 // Get the JS object corresponding to the given script; create it |
222 // if none exists. | 225 // if none exists. |
223 Handle<JSValue> GetScriptWrapper(Handle<Script> script); | 226 Handle<JSValue> GetScriptWrapper(Handle<Script> script); |
224 | 227 |
225 // Computes the enumerable keys from interceptors. Used for debug mirrors and | 228 // Computes the enumerable keys from interceptors. Used for debug mirrors and |
226 // by GetKeysInFixedArrayFor below. | 229 // by GetKeysInFixedArrayFor below. |
227 v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSObject> receiver, | 230 v8::Handle<v8::Array> GetKeysForNamedInterceptor(Handle<JSObject> receiver, |
228 Handle<JSObject> object); | 231 Handle<JSObject> object); |
229 v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSObject> receiver, | 232 v8::Handle<v8::Array> GetKeysForIndexedInterceptor(Handle<JSObject> receiver, |
230 Handle<JSObject> object); | 233 Handle<JSObject> object); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 private: | 311 private: |
309 bool has_been_transformed_; // Tells whether the object has been transformed. | 312 bool has_been_transformed_; // Tells whether the object has been transformed. |
310 int unused_property_fields_; // Captures the unused number of field. | 313 int unused_property_fields_; // Captures the unused number of field. |
311 Handle<JSObject> object_; // The object being optimized. | 314 Handle<JSObject> object_; // The object being optimized. |
312 }; | 315 }; |
313 | 316 |
314 | 317 |
315 } } // namespace v8::internal | 318 } } // namespace v8::internal |
316 | 319 |
317 #endif // V8_HANDLES_H_ | 320 #endif // V8_HANDLES_H_ |
OLD | NEW |