Lines Matching refs:Handle
47 static Handle<JSArray> Collect(FunctionLiteral* node, Handle<Script> script,
55 LiveEditFunctionTracker(Handle<Script> script, Zone* zone, Isolate* isolate);
58 void FunctionDone(Handle<SharedFunctionInfo> shared, Scope* scope);
59 Handle<Object> SerializeFunctionScope(Scope* scope);
61 Handle<Script> script_;
65 Handle<JSArray> result_;
78 Handle<Script> script,
79 Handle<String> source);
81 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array,
82 Handle<JSArray> shared_info_array);
84 static void FixupScript(Handle<Script> script, int max_function_literal_id);
86 static void FunctionSourceUpdated(Handle<JSArray> shared_info_array,
90 static void SetFunctionScript(Handle<JSValue> function_wrapper,
91 Handle<Object> script_handle);
93 static void PatchFunctionPositions(Handle<JSArray> shared_info_array,
94 Handle<JSArray> position_change_array);
99 static Handle<Object> ChangeScriptSource(Handle<Script> original_script,
100 Handle<String> new_source,
101 Handle<Object> old_script_name);
105 static void ReplaceRefToNestedFunction(Handle<JSValue> parent_function_shared,
106 Handle<JSValue> orig_function_shared,
107 Handle<JSValue> subst_function_shared);
111 static bool FindActiveGenerators(Handle<FixedArray> shared_info_array,
112 Handle<FixedArray> result, int len);
119 static Handle<JSArray> CheckAndDropActivations(
120 Handle<JSArray> old_shared_array, Handle<JSArray> new_shared_array,
142 static Handle<JSArray> CompareStrings(Handle<String> s1,
143 Handle<String> s2);
191 Handle<JSArray> array = factory->NewJSArray(S::kSize_); in Create()
197 Handle<JSArray> array_handle(array); in cast()
201 explicit JSArrayBasedStruct(Handle<JSArray> array) : array_(array) { in JSArrayBasedStruct()
204 Handle<JSArray> GetJSArray() { in GetJSArray()
213 void SetField(int field_position, Handle<Object> value) { in SetField()
219 SetField(field_position, Handle<Smi>(Smi::FromInt(value), isolate())); in SetSmiValueField()
222 Handle<Object> GetField(int field_position) { in GetField()
228 Handle<Object> res = GetField(field_position); in GetSmiValueField()
229 return Handle<Smi>::cast(res)->value(); in GetSmiValueField()
233 Handle<JSArray> array_;
242 explicit FunctionInfoWrapper(Handle<JSArray> array) in FunctionInfoWrapper()
246 void SetInitialProperties(Handle<String> name, int start_position,
250 void SetFunctionScopeInfo(Handle<Object> scope_info_array) { in SetFunctionScopeInfo()
254 void SetSharedFunctionInfo(Handle<SharedFunctionInfo> info);
256 Handle<SharedFunctionInfo> GetSharedFunctionInfo();
288 static bool IsInstance(Handle<JSArray> array) { in IsInstance()
290 Handle<Object> element( in IsInstance()
294 return Handle<JSValue>::cast(element)->value()->IsSharedFunctionInfo(); in IsInstance()
297 explicit SharedInfoWrapper(Handle<JSArray> array) in SharedInfoWrapper()
301 void SetProperties(Handle<String> name,
304 Handle<SharedFunctionInfo> info);
306 Handle<SharedFunctionInfo> GetInfo();