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

Unified Diff: src/utils.h

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: fix v8heapconst.py Created 3 years, 7 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: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index 6c8dadbd715f363672bc7a8cf260e3a05b4a327b..67202ae031793aa9c5cc156dbd6a4b427f333d36 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_;
};

Powered by Google App Engine
This is Rietveld 408576698