Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: src/objects.h

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 43671a677ae769eed05ce29a506df03a7b958c1c..c460d38b6144362bbc160ae2ad6f1f6ad57ae4d9 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6794,6 +6794,7 @@ class SharedFunctionInfo: public HeapObject {
// Currently it has one of:
// - a FunctionTemplateInfo to make benefit the API [IsApiFunction()].
// - a BytecodeArray for the interpreter [HasBytecodeArray()].
+ // - a FixedArray with Asm->Wasm conversion [HasAsmWasmData()].
DECL_ACCESSORS(function_data, Object)
inline bool IsApiFunction();
@@ -6803,6 +6804,10 @@ class SharedFunctionInfo: public HeapObject {
inline BytecodeArray* bytecode_array();
inline void set_bytecode_array(BytecodeArray* bytecode);
inline void ClearBytecodeArray();
+ inline bool HasAsmWasmData();
+ inline FixedArray* asm_wasm_data();
+ inline void set_asm_wasm_data(FixedArray* data);
+ inline void ClearAsmWasmData();
// [function identifier]: This field holds an additional identifier for the
// function.

Powered by Google App Engine
This is Rietveld 408576698