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

Unified Diff: src/utils.h

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Disable new array builtins by default Created 3 years, 6 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/objects.cc ('k') | test/mjsunit/optimized-foreach.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index dbf94464e0ec398d2117900775bffcf1f1381131..13fd214111d858e4029ae081b7f77b4ec0444781 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -941,6 +941,8 @@ class BailoutId {
V8_EXPORT_PRIVATE friend std::ostream& operator<<(std::ostream&, BailoutId);
private:
+ friend class Builtins;
+
static const int kNoneId = -1;
// Using 0 could disguise errors.
@@ -959,6 +961,11 @@ class BailoutId {
// Every compiled stub starts with this id.
static const int kStubEntryId = 6;
+ // Builtin continuations bailout ids start here. If you need to add a
+ // non-builtin BailoutId, add it before this id so that this Id has the
+ // highest number.
+ static const int kFirstBuiltinContinuationId = 7;
+
int id_;
};
« no previous file with comments | « src/objects.cc ('k') | test/mjsunit/optimized-foreach.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698