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

Unified Diff: src/ic/ic-state.h

Issue 2608893002: [builtins] Move LoadGlobalICStub to builtins (Closed)
Patch Set: Created 3 years, 12 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/ic/accessor-assembler.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic-state.h
diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h
index 0de01274876afd7e68c46e9a4bdc6a3041b2c027..836979c4f0f19384e5eb4a093af01d0203639fbc 100644
--- a/src/ic/ic-state.h
+++ b/src/ic/ic-state.h
@@ -235,6 +235,13 @@ class LoadGlobalICState final BASE_EMBEDDED {
static TypeofMode GetTypeofMode(ExtraICState state) {
return LoadGlobalICState(state).typeof_mode();
}
+
+ // For convenience, a statically declared encoding of typeof mode
+ // IC state.
+ static const ExtraICState kInsideTypeOfState = INSIDE_TYPEOF
+ << TypeofModeBits::kShift;
+ static const ExtraICState kNotInsideTypeOfState = NOT_INSIDE_TYPEOF
+ << TypeofModeBits::kShift;
};
« no previous file with comments | « src/ic/accessor-assembler.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698