OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 Handle<Object> obj, | 235 Handle<Object> obj, |
236 Handle<Object> key); | 236 Handle<Object> key); |
237 | 237 |
238 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value); | 238 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value); |
239 | 239 |
240 Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate, | 240 Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate, |
241 uint32_t index); | 241 uint32_t index); |
242 | 242 |
243 Handle<JSObject> Copy(Handle<JSObject> obj); | 243 Handle<JSObject> Copy(Handle<JSObject> obj); |
244 | 244 |
| 245 Handle<JSObject> DeepCopy(Handle<JSObject> obj); |
| 246 |
245 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); | 247 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); |
246 | 248 |
247 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, | 249 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
248 Handle<JSArray> array); | 250 Handle<JSArray> array); |
249 | 251 |
250 // Get the JS object corresponding to the given script; create it | 252 // Get the JS object corresponding to the given script; create it |
251 // if none exists. | 253 // if none exists. |
252 Handle<JSValue> GetScriptWrapper(Handle<Script> script); | 254 Handle<JSValue> GetScriptWrapper(Handle<Script> script); |
253 | 255 |
254 // Script line number computations. Note that the line number is zero-based. | 256 // Script line number computations. Note that the line number is zero-based. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 inline ~HandleDereferenceGuard(); | 350 inline ~HandleDereferenceGuard(); |
349 private: | 351 private: |
350 Isolate* isolate_; | 352 Isolate* isolate_; |
351 bool old_state_; | 353 bool old_state_; |
352 #endif | 354 #endif |
353 }; | 355 }; |
354 | 356 |
355 } } // namespace v8::internal | 357 } } // namespace v8::internal |
356 | 358 |
357 #endif // V8_HANDLES_H_ | 359 #endif // V8_HANDLES_H_ |
OLD | NEW |