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

Unified Diff: src/runtime/runtime.h

Issue 1683103002: [compiler] Sanitize entry points to LookupSlot access. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Fixes. Comments. Created 4 years, 10 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/interpreter/interpreter.cc ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 7018099a53018e3eebcbcd8240100fcd786b7e45..14144e9d93e23fd37157497ed40606b24e9eec9e 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -537,7 +537,6 @@ namespace internal {
F(RegExpExecReThrow, 4, 1) \
F(IsRegExp, 1, 1)
-
#define FOR_EACH_INTRINSIC_SCOPES(F) \
F(ThrowConstAssignError, 0, 1) \
F(DeclareGlobals, 2, 1) \
@@ -547,7 +546,7 @@ namespace internal {
F(InitializeLegacyConstLookupSlot, 3, 1) \
F(NewSloppyArguments_Generic, 1, 1) \
F(NewStrictArguments_Generic, 1, 1) \
- F(NewRestParameter, 1, 1) \
+ F(NewRestParameter, 1, 1) \
F(NewSloppyArguments, 3, 1) \
F(NewStrictArguments, 3, 1) \
F(NewClosure, 1, 1) \
@@ -560,12 +559,14 @@ namespace internal {
F(IsJSModule, 1, 1) \
F(PushModuleContext, 2, 1) \
F(DeclareModules, 1, 1) \
- F(DeleteLookupSlot, 2, 1) \
- F(StoreLookupSlot, 4, 1) \
+ F(DeleteLookupSlot, 1, 1) \
+ F(LoadLookupSlot, 1, 1) \
+ F(LoadLookupSlotInsideTypeof, 1, 1) \
+ F(StoreLookupSlot_Sloppy, 2, 1) \
+ F(StoreLookupSlot_Strict, 2, 1) \
F(ArgumentsLength, 0, 1) \
F(Arguments, 1, 1)
-
#define FOR_EACH_INTRINSIC_SIMD(F) \
F(IsSimdValue, 1, 1) \
F(SimdSameValue, 2, 1) \
@@ -1008,10 +1009,8 @@ namespace internal {
F(URIEscape, 1, 1) \
F(URIUnescape, 1, 1)
-
#define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
- F(LoadLookupSlot, 2, 2) \
- F(LoadLookupSlotNoReferenceError, 2, 2)
+ F(LoadLookupSlotForCall, 1, 2)
#define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
F(ForInPrepare, 1, 3)
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698