| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 Handle<JSObject> holder, | 238 Handle<JSObject> holder, |
| 239 Handle<String> name, | 239 Handle<String> name, |
| 240 PropertyAttributes* attributes); | 240 PropertyAttributes* attributes); |
| 241 | 241 |
| 242 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value); | 242 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value); |
| 243 | 243 |
| 244 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); | 244 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); |
| 245 | 245 |
| 246 Handle<JSObject> Copy(Handle<JSObject> obj); | 246 Handle<JSObject> Copy(Handle<JSObject> obj); |
| 247 | 247 |
| 248 Handle<JSObject> DeepCopy(Handle<JSObject> obj); |
| 249 |
| 248 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); | 250 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); |
| 249 | 251 |
| 250 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, | 252 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
| 251 Handle<JSArray> array); | 253 Handle<JSArray> array); |
| 252 | 254 |
| 253 // Get the JS object corresponding to the given script; create it | 255 // Get the JS object corresponding to the given script; create it |
| 254 // if none exists. | 256 // if none exists. |
| 255 Handle<JSValue> GetScriptWrapper(Handle<Script> script); | 257 Handle<JSValue> GetScriptWrapper(Handle<Script> script); |
| 256 | 258 |
| 257 // Script line number computations. Note that the line number is zero-based. | 259 // Script line number computations. Note that the line number is zero-based. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 inline AllowHandleDereference(); | 364 inline AllowHandleDereference(); |
| 363 inline ~AllowHandleDereference(); | 365 inline ~AllowHandleDereference(); |
| 364 private: | 366 private: |
| 365 bool old_state_; | 367 bool old_state_; |
| 366 #endif | 368 #endif |
| 367 }; | 369 }; |
| 368 | 370 |
| 369 } } // namespace v8::internal | 371 } } // namespace v8::internal |
| 370 | 372 |
| 371 #endif // V8_HANDLES_H_ | 373 #endif // V8_HANDLES_H_ |
| OLD | NEW |