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

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: mips and more 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
« no previous file with comments | « src/compiler.cc ('k') | src/objects-inl.h » ('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 a1a52b6eee75ef4c97542aedafc29f5e99f347b6..bdc38c630ecbc82f231b9acccfe01913ac2db412 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698