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

Unified Diff: src/objects.h

Issue 2229723002: [wasm] Support validation of asm.js modules with != 3 args. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Created 4 years, 4 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 11b51bff19635998672ae906886ba531cd081573..00717915f7c98d155cd8d2ba9c51dd8247ef012b 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7217,6 +7217,9 @@ class SharedFunctionInfo: public HeapObject {
// Whether this function was created from a FunctionDeclaration.
DECL_BOOLEAN_ACCESSORS(is_declaration)
+ // Indicates that asm->wasm conversion failed and should not be re-attempted.
+ DECL_BOOLEAN_ACCESSORS(is_asm_wasm_broken)
+
inline FunctionKind kind();
inline void set_kind(FunctionKind kind);
@@ -7489,6 +7492,7 @@ class SharedFunctionInfo: public HeapObject {
kIsAsyncFunction,
kDeserialized,
kIsDeclaration,
+ kIsAsmWasmBroken,
kCompilerHintsCount, // Pseudo entry
};
// Add hints for other modes when they're added.
« no previous file with comments | « src/compiler.cc ('k') | src/objects-inl.h » ('j') | src/runtime/runtime-compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698