Lines Matching defs:wasm

5 #include "src/wasm/wasm-engine.h"
23 #include "src/wasm/function-compiler.h"
24 #include "src/wasm/memory-protection-key.h"
25 #include "src/wasm/module-compiler.h"
26 #include "src/wasm/module-decoder.h"
27 #include "src/wasm/module-instantiate.h"
28 #include "src/wasm/streaming-decoder.h"
29 #include "src/wasm/wasm-debug.h"
30 #include "src/wasm/wasm-limits.h"
31 #include "src/wasm/wasm-objects-inl.h"
35 #include "src/debug/wasm/gdb-server/gdb-server.h"
40 namespace wasm {
44 if (FLAG_trace_wasm_code_gc) PrintF("[wasm-gc] " __VA_ARGS__); \
50 // bound to the wasm engine.
112 FATAL("archived threads in combination with wasm not supported");
414 // TODO(wasm): Remove this once we can use the generic js-to-wasm wrapper
467 TRACE_EVENT0("v8.wasm", "wasm.SyncValidate");
489 TRACE_EVENT1("v8.wasm", "wasm.SyncCompileTranslatedAsmJs", "id",
540 TRACE_EVENT1("v8.wasm", "wasm.SyncCompile", "id", compilation_id);
593 TRACE_EVENT0("v8.wasm", "wasm.SyncInstantiate");
602 TRACE_EVENT0("v8.wasm", "wasm.AsyncInstantiate");
639 TRACE_EVENT1("v8.wasm", "wasm.AsyncCompile", "id", compilation_id);
689 TRACE_EVENT1("v8.wasm", "wasm.StartStreamingCompilation", "id",
787 // - wasm://wasm/<module name>-<hash> if a module name has been set, or
788 // - wasm://wasm/<hash> otherwise.
802 // Build the URL in the form "wasm://wasm/<hash>".
803 int url_len = SNPrintF(buffer, "wasm://wasm/%08x", hash);
810 // Build the URL in the form "wasm://wasm/<module name>-<hash>".
814 isolate->factory()->NewStringFromStaticChars("wasm://wasm/");
848 wasm::WasmCodeManager::EstimateNativeModuleMetaDataSize(module);
849 Handle<Managed<wasm::NativeModule>> managed_native_module =
850 Managed<wasm::NativeModule>::FromSharedPtr(isolate, memory_estimate,
1133 // Under the mutex, get the vector of wasm code to log. Then log and decrement
1145 TRACE_EVENT0("v8.wasm", "wasm.LogCode");
1199 TRACE_EVENT1("v8.wasm", "wasm.GetNativeModuleFromCache", "wire_bytes",
1205 TRACE_EVENT0("v8.wasm", "CacheHit");
1252 TRACE_EVENT0("v8.wasm", "wasm.GetStreamingCompilationOwnership");
1257 // later "wasm.GetNativeModuleFromCache" event for trying to get the module
1259 TRACE_EVENT0("v8.wasm", "CacheHit");
1354 TRACE_EVENT0("v8.wasm", "wasm.ReportLiveCodeForGC");
1370 StackFrame* frame, std::unordered_set<wasm::WasmCode*>& live_wasm_code) {
1388 wasm::WasmCodeRefScope code_ref_scope;
1389 std::unordered_set<wasm::WasmCode*> live_wasm_code;
1391 wasm::StackMemory* current = isolate->wasm_stacks();
1462 TRACE_EVENT0("v8.wasm", "wasm.FreeDeadCode");
1681 // {max_mem_pages} is declared in wasm-limits.h.
1690 // {max_table_init_entries} is declared in wasm-limits.h.
1696 // {max_module_size} is declared in wasm-limits.h.
1705 } // namespace wasm