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

Unified Diff: src/typing-asm.cc

Issue 1943373002: [wasm] Disallow runtime calls in asm.js modules. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | test/mjsunit/regress/regress-592352.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/typing-asm.cc
diff --git a/src/typing-asm.cc b/src/typing-asm.cc
index 942b57b66b72eaefd6915f5a879a3df4ff7dee0c..771d255b81a5ba81eb1865ac49cff3e370f8b8f0 100644
--- a/src/typing-asm.cc
+++ b/src/typing-asm.cc
@@ -1071,7 +1071,7 @@ void AsmTyper::VisitCallNew(CallNew* expr) {
void AsmTyper::VisitCallRuntime(CallRuntime* expr) {
- // Allow runtime calls for now.
+ FAIL(expr, "runtime call not allowed");
}
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-592352.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698