Index: src/compiler/code-generator.h |
diff --git a/src/compiler/code-generator.h b/src/compiler/code-generator.h |
index 74958d05f3fb5383169b51460e27b309f23903aa..34d5fb38782f3c25a130fc3bc4dc04c43d811d06 100644 |
--- a/src/compiler/code-generator.h |
+++ b/src/compiler/code-generator.h |
@@ -125,6 +125,7 @@ |
void AssembleArchTableSwitch(Instruction* instr); |
CodeGenResult AssembleDeoptimizerCall(int deoptimization_id, |
+ Deoptimizer::BailoutType bailout_type, |
SourcePosition pos); |
// Generates an architecture-specific, descriptor-specific prologue |
@@ -209,7 +210,6 @@ |
int DefineDeoptimizationLiteral(Handle<Object> literal); |
DeoptimizationEntry const& GetDeoptimizationEntry(Instruction* instr, |
size_t frame_state_offset); |
- DeoptimizeKind GetDeoptimizationKind(int deoptimization_id) const; |
DeoptimizeReason GetDeoptimizationReason(int deoptimization_id) const; |
int BuildTranslation(Instruction* instr, int pc_offset, |
size_t frame_state_offset, |
@@ -238,24 +238,21 @@ |
class DeoptimizationState final : public ZoneObject { |
public: |
DeoptimizationState(BailoutId bailout_id, int translation_id, int pc_offset, |
- DeoptimizeKind kind, DeoptimizeReason reason) |
+ DeoptimizeReason reason) |
: bailout_id_(bailout_id), |
translation_id_(translation_id), |
pc_offset_(pc_offset), |
- kind_(kind), |
reason_(reason) {} |
BailoutId bailout_id() const { return bailout_id_; } |
int translation_id() const { return translation_id_; } |
int pc_offset() const { return pc_offset_; } |
- DeoptimizeKind kind() const { return kind_; } |
DeoptimizeReason reason() const { return reason_; } |
private: |
BailoutId bailout_id_; |
int translation_id_; |
int pc_offset_; |
- DeoptimizeKind kind_; |
DeoptimizeReason reason_; |
}; |