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

Unified Diff: src/runtime/runtime.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/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 2dd9d08bc55e12c675ecae29848d8187c041730c..20362c5decd3a1f0017cdb97662cc5b2b596744f 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -130,7 +130,7 @@ namespace internal {
F(CompileForOnStackReplacement, 1, 1) \
F(TryInstallOptimizedCode, 1, 1) \
F(ResolvePossiblyDirectEval, 6, 1) \
- F(InstantiateAsmJs, 4, 1)
+ F(InstantiateAsmJs, -1, 1)
Michael Starzinger 2016/08/09 15:48:09 I would very much vote for keeping the arguments c
bradn 2016/08/11 09:19:33 Indeed. Done.
#define FOR_EACH_INTRINSIC_DATE(F) \
F(IsDate, 1, 1) \
@@ -880,7 +880,8 @@ namespace internal {
F(HasFixedFloat32Elements, 1, 1) \
F(HasFixedFloat64Elements, 1, 1) \
F(HasFixedUint8ClampedElements, 1, 1) \
- F(SpeciesProtector, 0, 1)
+ F(SpeciesProtector, 0, 1) \
+ F(IsAsmWasmCode, 1, 1)
#define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
F(ArrayBufferGetByteLength, 1, 1) \

Powered by Google App Engine
This is Rietveld 408576698