Home
last modified time | relevance | path

Searched refs:decl_bits (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/wasm/
Dmodule-decoder.cc296 byte decl_bits = u8("function decl"); in DecodeFunctionInModule() local
309 decl_bits & kDeclFunctionName ? " name" : "", in DecodeFunctionInModule()
310 decl_bits & kDeclFunctionImport ? " imported" : "", in DecodeFunctionInModule()
311 decl_bits & kDeclFunctionLocals ? " locals" : "", in DecodeFunctionInModule()
312 decl_bits & kDeclFunctionExport ? " exported" : "", in DecodeFunctionInModule()
313 (decl_bits & kDeclFunctionImport) == 0 ? " body" : ""); in DecodeFunctionInModule()
315 if (decl_bits & kDeclFunctionName) { in DecodeFunctionInModule()
319 function->exported = decl_bits & kDeclFunctionExport; in DecodeFunctionInModule()
322 if (decl_bits & kDeclFunctionImport) { in DecodeFunctionInModule()
327 if (decl_bits & kDeclFunctionLocals) { in DecodeFunctionInModule()
Dencoder.cc278 uint8_t decl_bits = (exported_ ? kDeclFunctionExport : 0) | in Serialize() local
283 EmitUint8(header, decl_bits); in Serialize()