Chromium Code Reviews

Unified Diff: src/runtime/runtime.h

Issue 2628863002: Do security checks in the promise constructor (Closed)
Patch Set: updates Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 744156c1ed052745a2535e4c176e2e469df06800..f2c25b8bdf8d9932e2ea7c0acb9e8076731b6105 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -339,7 +339,8 @@ namespace internal {
F(ThrowTypeError, -1 /* >= 1 */, 1) \
F(ThrowUndefinedOrNullToObject, 1, 1) \
F(Typeof, 1, 1) \
- F(UnwindAndFindExceptionHandler, 0, 1)
+ F(UnwindAndFindExceptionHandler, 0, 1) \
+ F(AllowDynamicFunction, 1, 1)
#define FOR_EACH_INTRINSIC_LITERALS(F) \
F(CreateRegExpLiteral, 4, 1) \

Powered by Google App Engine