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

Unified Diff: src/compiler/instruction-selector-impl.h

Issue 2683203002: Revert of [compiler] Pass deoptimization_kind through DeoptimizeParameters and FlagsContinuation (Closed)
Patch Set: Created 3 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/compiler/instruction-selector.cc ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction-selector-impl.h
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h
index ecda4533517e8a21fbcf7a9741f8cf443ec498d0..60522b17998db7a6650635babebd18235898ff6d 100644
--- a/src/compiler/instruction-selector-impl.h
+++ b/src/compiler/instruction-selector-impl.h
@@ -350,10 +350,9 @@
// Creates a new flags continuation for an eager deoptimization exit.
static FlagsContinuation ForDeoptimize(FlagsCondition condition,
- DeoptimizeKind kind,
DeoptimizeReason reason,
Node* frame_state) {
- return FlagsContinuation(condition, kind, reason, frame_state);
+ return FlagsContinuation(condition, reason, frame_state);
}
// Creates a new flags continuation for a boolean value.
@@ -376,10 +375,6 @@
DCHECK(!IsNone());
return condition_;
}
- DeoptimizeKind kind() const {
- DCHECK(IsDeoptimize());
- return kind_;
- }
DeoptimizeReason reason() const {
DCHECK(IsDeoptimize());
return reason_;
@@ -453,11 +448,10 @@
}
private:
- FlagsContinuation(FlagsCondition condition, DeoptimizeKind kind,
- DeoptimizeReason reason, Node* frame_state)
+ FlagsContinuation(FlagsCondition condition, DeoptimizeReason reason,
+ Node* frame_state)
: mode_(kFlags_deoptimize),
condition_(condition),
- kind_(kind),
reason_(reason),
frame_state_or_result_(frame_state) {
DCHECK_NOT_NULL(frame_state);
@@ -480,8 +474,7 @@
FlagsMode const mode_;
FlagsCondition condition_;
- DeoptimizeKind kind_; // Only valid if mode_ == kFlags_deoptimize
- DeoptimizeReason reason_; // Only valid if mode_ == kFlags_deoptimize
+ DeoptimizeReason reason_; // Only value if mode_ == kFlags_deoptimize
Node* frame_state_or_result_; // Only valid if mode_ == kFlags_deoptimize
// or mode_ == kFlags_set.
BasicBlock* true_block_; // Only valid if mode_ == kFlags_branch.
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698