| 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 |
| 258 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, | 262 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
| 259 Handle<JSArray> array); | 263 Handle<JSArray> array); |
| 260 | 264 |
| 261 // Get the JS object corresponding to the given script; create it | 265 // Get the JS object corresponding to the given script; create it |
| 262 // if none exists. | 266 // if none exists. |
| 263 Handle<JSValue> GetScriptWrapper(Handle<Script> script); | 267 Handle<JSValue> GetScriptWrapper(Handle<Script> script); |
| 264 | 268 |
| 265 // Script line number computations. Note that the line number is zero-based. | 269 // Script line number computations. Note that the line number is zero-based. |
| 266 void InitScriptLineEnds(Handle<Script> script); | 270 void InitScriptLineEnds(Handle<Script> script); |
| 267 // For string calculates an array of line end positions. If the string | 271 // 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... |
| 340 private: | 344 private: |
| 341 Isolate* isolate_; | 345 Isolate* isolate_; |
| 342 Object** limit_; | 346 Object** limit_; |
| 343 int level_; | 347 int level_; |
| 344 #endif | 348 #endif |
| 345 }; | 349 }; |
| 346 | 350 |
| 347 } } // namespace v8::internal | 351 } } // namespace v8::internal |
| 348 | 352 |
| 349 #endif // V8_HANDLES_H_ | 353 #endif // V8_HANDLES_H_ |
| OLD | NEW |