WebAssembly.compile

E542892

WebAssembly.compile is a JavaScript API function that compiles WebAssembly binary code into an executable WebAssembly.Module object, enabling efficient reuse across multiple instantiations.

All labels observed (2)

Label Occurrences
WebAssembly.compile canonical 4
WebAssembly.Module.compile 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf JavaScript function ⓘ
WebAssembly JavaScript API feature ⓘ
asynchronous true ⓘ
availableIn Node.js with WebAssembly support ⓘ
web browsers with WebAssembly support ⓘ
belongsToNamespace WebAssembly ⓘ
canBePolyfilled partially, using WebAssembly.instantiate and caching modules manually ⓘ
canBeUsedWith WebAssembly.instantiate ⓘ
WebAssembly.instantiateStreaming ⓘ
canRejectWith RangeError ⓘ
TypeError ⓘ
linked to: Error
compilationStage ahead-of-time compilation of WebAssembly binary ⓘ
creates WebAssembly.Module ⓘ
definedIn WebAssembly JavaScript API ⓘ
errorCondition invalid WebAssembly binary code ⓘ
malformed WebAssembly module ⓘ
errorType WebAssembly.CompileError ⓘ
executionContext main JavaScript thread ⓘ
hasParameter bufferSource ⓘ
hasParameterType ArrayBuffer ⓘ
BufferSource ⓘ
TypedArray ⓘ
hasReturnType Promise ⓘ
hostEnvironment JavaScript runtime ⓘ
Web platform ⓘ
inputFormat WebAssembly binary format ⓘ
introducedFor efficient WebAssembly compilation in JavaScript ⓘ
isDeterministic compilation result is deterministic for same binary and environment ⓘ
isStaticMethodOf WebAssembly (global object) ⓘ
languageBinding JavaScript ⓘ
nonBlocking true ⓘ
outputType WebAssembly.Module ⓘ
purpose compile WebAssembly binary code ⓘ
enable reuse of compiled WebAssembly.Module across multiple instantiations ⓘ
relatedFunction WebAssembly.compileStreaming ⓘ
WebAssembly.instantiate ⓘ
WebAssembly.validate ⓘ
requires valid WebAssembly module header ⓘ
returns Promise that resolves to WebAssembly.Module ⓘ
securityModel subject to WebAssembly sandboxing rules ⓘ
specifies compilation of binary code only (no instantiation) ⓘ
standardizedIn WebAssembly JavaScript Interface specification ⓘ
supportsOptimization true ⓘ
supportsReuse true ⓘ
supportsSourceCaching implementation-dependent ⓘ
threadingModel can be used from Web Workers ⓘ
usagePattern compile once and instantiate multiple times ⓘ

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

WebAssembly.instantiate → relatedFunction → WebAssembly.compile ⓘ
WebAssembly.compileStreaming → alternativeTo → WebAssembly.compile ⓘ
WebAssembly.CompileError → usedBy → WebAssembly.compile ⓘ
WebAssembly.Module → hasStaticMethod → WebAssembly.Module.compile ⓘ
linked to: WebAssembly.compile