Revision f230a1cf deps/v8/src/handles.h
deps/v8/src/handles.h | ||
---|---|---|
177 | 177 |
// Extend the handle scope making room for more handles. |
178 | 178 |
static internal::Object** Extend(Isolate* isolate); |
179 | 179 |
|
180 |
#ifdef ENABLE_EXTRA_CHECKS
|
|
180 |
#ifdef ENABLE_HANDLE_ZAPPING
|
|
181 | 181 |
// Zaps the handles in the half-open interval [start, end). |
182 | 182 |
static void ZapRange(Object** start, Object** end); |
183 | 183 |
#endif |
... | ... | |
255 | 255 |
Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate, |
256 | 256 |
uint32_t index); |
257 | 257 |
|
258 |
Handle<JSObject> Copy(Handle<JSObject> obj); |
|
259 |
|
|
260 |
Handle<JSObject> DeepCopy(Handle<JSObject> obj); |
|
261 |
|
|
262 | 258 |
Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
263 | 259 |
Handle<JSArray> array); |
264 | 260 |
|
... | ... | |
303 | 299 |
Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first, |
304 | 300 |
Handle<FixedArray> second); |
305 | 301 |
|
306 |
Handle<String> SubString(Handle<String> str, |
|
307 |
int start, |
|
308 |
int end, |
|
309 |
PretenureFlag pretenure = NOT_TENURED); |
|
310 |
|
|
311 |
// Sets the expected number of properties for the function's instances. |
|
312 |
void SetExpectedNofProperties(Handle<JSFunction> func, int nof); |
|
313 |
|
|
314 |
// Sets the expected number of properties based on estimate from compiler. |
|
315 |
void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared, |
|
316 |
int estimate); |
|
317 |
|
|
318 |
|
|
319 | 302 |
Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( |
320 | 303 |
Handle<JSFunction> constructor, |
321 | 304 |
Handle<JSGlobalProxy> global); |
... | ... | |
330 | 313 |
Handle<Object> key, |
331 | 314 |
Handle<Object> value); |
332 | 315 |
|
316 |
void AddWeakObjectToCodeDependency(Heap* heap, |
|
317 |
Handle<Object> object, |
|
318 |
Handle<Code> code); |
|
333 | 319 |
|
334 | 320 |
// Seal off the current HandleScope so that new handles can only be created |
335 | 321 |
// if a new HandleScope is entered. |
Also available in: Unified diff