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

Unified Diff: runtime/vm/intrinsifier.cc

Issue 3003583002: [VM, Precompiler] PoC Obfuscator (Closed)
Patch Set: Discard obfuscation map Created 3 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: runtime/vm/intrinsifier.cc
diff --git a/runtime/vm/intrinsifier.cc b/runtime/vm/intrinsifier.cc
index 8eb5fabd52e4c6daf5d70446df3f0a0881bc37cd..e7c2816a3cc02d4ca6c256e4503493195cb0e950 100644
--- a/runtime/vm/intrinsifier.cc
+++ b/runtime/vm/intrinsifier.cc
@@ -88,6 +88,8 @@ void Intrinsifier::InitializeState() {
} \
func = cls.LookupFunctionAllowPrivate(str); \
} \
+ if (func.IsNull()) \
+ OS::PrintErr("Failed to find %s->%s\n", #class_name, #function_name); \
rmacnak 2017/08/23 01:16:50 FATAL2?
Vyacheslav Egorov (Google) 2017/08/23 15:54:52 Done.
ASSERT(!func.IsNull()); \
func.set_is_intrinsic(true);

Powered by Google App Engine
This is Rietveld 408576698