| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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); | 258 Handle<JSObject> Copy(Handle<JSObject> obj); |
| 259 | 259 |
| 260 Handle<JSObject> DeepCopy(Handle<JSObject> obj); | 260 Handle<JSObject> DeepCopy(Handle<JSObject> obj); |
| 261 | 261 |
| 262 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); | |
| 263 | |
| 264 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, | 262 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
| 265 Handle<JSArray> array); | 263 Handle<JSArray> array); |
| 266 | 264 |
| 267 // Get the JS object corresponding to the given script; create it | 265 // Get the JS object corresponding to the given script; create it |
| 268 // if none exists. | 266 // if none exists. |
| 269 Handle<JSValue> GetScriptWrapper(Handle<Script> script); | 267 Handle<JSValue> GetScriptWrapper(Handle<Script> script); |
| 270 | 268 |
| 271 // 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. |
| 272 void InitScriptLineEnds(Handle<Script> script); | 270 void InitScriptLineEnds(Handle<Script> script); |
| 273 // 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... |
| 346 private: | 344 private: |
| 347 Isolate* isolate_; | 345 Isolate* isolate_; |
| 348 Object** limit_; | 346 Object** limit_; |
| 349 int level_; | 347 int level_; |
| 350 #endif | 348 #endif |
| 351 }; | 349 }; |
| 352 | 350 |
| 353 } } // namespace v8::internal | 351 } } // namespace v8::internal |
| 354 | 352 |
| 355 #endif // V8_HANDLES_H_ | 353 #endif // V8_HANDLES_H_ |
| OLD | NEW |