| 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 | 248 |
| 249 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name); | 249 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name); |
| 250 | 250 |
| 251 Handle<Object> GetProperty(Isolate* isolate, | 251 Handle<Object> GetProperty(Isolate* isolate, |
| 252 Handle<Object> obj, | 252 Handle<Object> obj, |
| 253 Handle<Object> key); | 253 Handle<Object> key); |
| 254 | 254 |
| 255 Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate, | 255 Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate, |
| 256 uint32_t index); | 256 uint32_t index); |
| 257 | 257 |
| 258 Handle<JSObject> Copy(Handle<JSObject> obj); | |
| 259 | |
| 260 Handle<JSObject> DeepCopy(Handle<JSObject> obj); | |
| 261 | |
| 262 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, | 258 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
| 263 Handle<JSArray> array); | 259 Handle<JSArray> array); |
| 264 | 260 |
| 265 // Get the JS object corresponding to the given script; create it | 261 // Get the JS object corresponding to the given script; create it |
| 266 // if none exists. | 262 // if none exists. |
| 267 Handle<JSValue> GetScriptWrapper(Handle<Script> script); | 263 Handle<JSValue> GetScriptWrapper(Handle<Script> script); |
| 268 | 264 |
| 269 // Script line number computations. Note that the line number is zero-based. | 265 // Script line number computations. Note that the line number is zero-based. |
| 270 void InitScriptLineEnds(Handle<Script> script); | 266 void InitScriptLineEnds(Handle<Script> script); |
| 271 // For string calculates an array of line end positions. If the string | 267 // For string calculates an array of line end positions. If the string |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 private: | 340 private: |
| 345 Isolate* isolate_; | 341 Isolate* isolate_; |
| 346 Object** limit_; | 342 Object** limit_; |
| 347 int level_; | 343 int level_; |
| 348 #endif | 344 #endif |
| 349 }; | 345 }; |
| 350 | 346 |
| 351 } } // namespace v8::internal | 347 } } // namespace v8::internal |
| 352 | 348 |
| 353 #endif // V8_HANDLES_H_ | 349 #endif // V8_HANDLES_H_ |
| OLD | NEW |