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

Unified Diff: src/compiler/register-allocator.h

Issue 2347563004: [turbofan] Avoid large deopt blocks (Closed)
Patch Set: A few more adjustments Created 4 years, 3 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/compiler/register-allocator.h
diff --git a/src/compiler/register-allocator.h b/src/compiler/register-allocator.h
index 2089ea2fc1f9f1e831ddf54809e041722b518edf..a0ef0179fce4345b92d8c312097e1cea3a55f768 100644
--- a/src/compiler/register-allocator.h
+++ b/src/compiler/register-allocator.h
@@ -275,6 +275,7 @@ class UsePosition final : public ZoneObject {
}
bool HasHint() const;
bool HintRegister(int* register_code) const;
+ void SetHint(UsePosition* use_pos);
void ResolveHint(UsePosition* use_pos);
bool IsResolved() const {
return hint_type() != UsePositionHintType::kUnresolved;
@@ -369,7 +370,7 @@ class LiveRange : public ZoneObject {
// The current range will terminate at position, while result will start from
// position.
UsePosition* DetachAt(LifetimePosition position, LiveRange* result,
- Zone* zone);
+ Zone* zone, bool connect_hints);
// Detaches at position, and then links the resulting ranges. Returns the
// child, which starts at position.

Powered by Google App Engine
This is Rietveld 408576698