Home
last modified time | relevance | path

Searched refs:js_function (Results 1 - 12 of 12) sorted by relevance

/third_party/jerryscript/tests/unit-ext/module/
H A Djerry-module-test.c141 handle_clear_require_cache (const jerry_value_t js_function, in handle_clear_require_cache() argument
146 (void) js_function; in handle_clear_require_cache()
157 handle_require (const jerry_value_t js_function, in handle_require() argument
162 (void) js_function; in handle_require()
201 jerry_value_t js_global = 0, js_function = 0, js_property_name = 0; in main() local
213 js_function = jerry_create_external_function (handle_require); in main()
215 res = jerry_set_property (js_global, js_property_name, js_function); in main()
220 jerry_release_value (js_function); in main()
222 js_function = jerry_create_external_function (handle_clear_require_cache); in main()
224 res = jerry_set_property (js_global, js_property_name, js_function); in main()
[all...]
/third_party/node/deps/v8/src/debug/
H A Dliveedit.cc836 JSFunction js_function = JSFunction::cast(obj); in Fill() local
837 SharedFunctionInfo sfi = js_function.shared(); in Fill()
840 data->js_functions.emplace_back(js_function, isolate); in Fill()
1078 for (auto& js_function : data->js_functions) { in PatchScript()
1079 js_function->set_raw_feedback_cell( in PatchScript()
1081 if (!js_function->is_compiled()) continue; in PatchScript()
1083 js_function->shared().is_compiled_scope(isolate)); in PatchScript()
1084 JSFunction::EnsureFeedbackVector(isolate, js_function, in PatchScript()
1119 for (auto& js_function : data->js_functions) { in PatchScript()
1120 js_function in PatchScript()
[all...]
H A Ddebug-interface.cc105 auto js_function = i::Handle<i::JSFunction>::cast(receiver); in GetFunctionDescription() local
107 if (js_function->shared().HasWasmExportedFunctionData()) { in GetFunctionDescription()
108 auto isolate = js_function->GetIsolate(); in GetFunctionDescription()
110 js_function->shared().wasm_exported_function_data().function_index(); in GetFunctionDescription()
112 js_function->shared().wasm_exported_function_data().instance(), in GetFunctionDescription()
127 return Utils::ToLocal(i::JSFunction::ToString(js_function)); in GetFunctionDescription()
/third_party/node/deps/v8/src/heap/
H A Dmarking-visitor-inl.h162 Map map, JSFunction js_function) { in VisitJSFunction()
163 int size = concrete_visitor()->VisitJSObjectSubclass(map, js_function); in VisitJSFunction()
164 if (js_function.ShouldFlushBaselineCode(code_flush_mode_)) { in VisitJSFunction()
166 local_weak_objects_->baseline_flushing_candidates_local.Push(js_function); in VisitJSFunction()
168 VisitPointer(js_function, js_function.RawField(JSFunction::kCodeOffset)); in VisitJSFunction()
173 js_function.NeedsResetDueToFlushedBytecode()) { in VisitJSFunction()
174 local_weak_objects_->flushed_js_functions_local.Push(js_function); in VisitJSFunction()
161 VisitJSFunction( Map map, JSFunction js_function) VisitJSFunction() argument
/third_party/node/test/js-native-api/test_function/
H A Dtest_function.c93 napi_value js_function; in finalize_function() local
94 NODE_API_CALL_RETURN_VOID(env, napi_get_reference_value(env, ref, &js_function)); in finalize_function()
99 napi_call_function(env, undefined, js_function, 0, NULL, NULL)); in finalize_function()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-objects.cc1448 int entry_index, Handle<WasmJSFunction> js_function) { in ImportWasmJSFunctionIntoTable()
1453 const wasm::FunctionSig* sig = js_function->GetSignature(&zone); in ImportWasmJSFunctionIntoTable()
1457 Handle<JSReceiver> callable(js_function->GetCallable(), isolate); in ImportWasmJSFunctionIntoTable()
1483 // TODO(manoskouk): Reuse js_function->wasm_to_js_wrapper_code(). in ImportWasmJSFunctionIntoTable()
1503 Handle<HeapObject> suspender = handle(js_function->GetSuspender(), isolate); in ImportWasmJSFunctionIntoTable()
1881 JSFunction js_function = JSFunction::cast(object); in IsWasmExportedFunction()
1882 CodeT code = js_function.code(); in IsWasmExportedFunction()
1888 DCHECK(js_function.shared().HasWasmExportedFunctionData()); in IsWasmExportedFunction()
1894 JSFunction js_function = JSFunction::cast(object); in IsWasmCapiFunction()
1897 // if (js_function in IsWasmCapiFunction()
1446 ImportWasmJSFunctionIntoTable( Isolate* isolate, Handle<WasmInstanceObject> instance, int table_index, int entry_index, Handle<WasmJSFunction> js_function) ImportWasmJSFunctionIntoTable() argument
2007 Handle<JSFunction> js_function = New() local
2134 Handle<JSFunction> js_function = New() local
[all...]
H A Dmodule-instantiate.cc1242 Handle<WasmJSFunction> js_function; in InitializeImportedIndirectFunctionTable() local
1243 if (maybe_js_function.ToHandle(&js_function)) { in InitializeImportedIndirectFunctionTable()
1245 isolate_, instance, table_index, i, js_function); in InitializeImportedIndirectFunctionTable()
H A Dwasm-objects.h510 Handle<WasmJSFunction> js_function);
/third_party/node/deps/v8/tools/debug_helper/
H A Dget-object-properties.cc688 TqJSFunction js_function(js_function_ptr); in GetStackFrame()
690 js_function.GetSharedFunctionInfoValue(memory_accessor); in GetStackFrame()
/third_party/node/deps/v8/src/compiler/
H A Djs-create-lowering.cc391 JSFunctionRef js_function = in ReduceJSCreateGeneratorObject() local
393 if (!js_function.has_initial_map(dependencies())) return NoChange(); in ReduceJSCreateGeneratorObject()
396 dependencies()->DependOnInitialMapInstanceSizePrediction(js_function); in ReduceJSCreateGeneratorObject()
398 MapRef initial_map = js_function.initial_map(dependencies()); in ReduceJSCreateGeneratorObject()
403 SharedFunctionInfoRef shared = js_function.shared(); in ReduceJSCreateGeneratorObject()
H A Dwasm-compiler.cc423 Node* LoadSharedFunctionInfo(Node* js_function) { in LoadSharedFunctionInfo() argument
425 MachineType::TaggedPointer(), js_function, in LoadSharedFunctionInfo()
428 Node* LoadContextFromJSFunction(Node* js_function) { in LoadContextFromJSFunction() argument
430 MachineType::TaggedPointer(), js_function, in LoadContextFromJSFunction()
434 Node* LoadFunctionDataFromJSFunction(Node* js_function) { in LoadFunctionDataFromJSFunction() argument
435 Node* shared = LoadSharedFunctionInfo(js_function); in LoadFunctionDataFromJSFunction()
7810 auto js_function = Handle<WasmJSFunction>::cast(callable);
7811 suspender = handle(js_function->GetSuspender(), isolate);
7813 !js_function->MatchesSignatureForSuspend(expected_sig)) ||
7815 !js_function
[all...]
/third_party/node/deps/v8/src/api/
H A Dapi.cc2816 auto js_function = in CreateCodeCacheForFunction() local
2818 i::Handle<i::SharedFunctionInfo> shared(js_function->shared(), in CreateCodeCacheForFunction()
2819 js_function->GetIsolate()); in CreateCodeCacheForFunction()

Completed in 80 milliseconds