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

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
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index a8a07c0a47f512f8c18a36715a34c06795743e7b..0ad90b74b07ce6d053a23099eb36457eb1c9d73d 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6916,6 +6916,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();
@@ -6925,6 +6926,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.
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698