Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index 7ad1ab0b2e7f40227d0c90beea19e4474c644c46..eb3b0b76f61bcb400b78419b05f11e6dd08dcb45 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -122,7 +122,6 @@ class Deoptimizer : public Malloced { |
EAGER, |
LAZY, |
SOFT, |
- OSR, |
// This last bailout type is not really a bailout, but used by the |
// debugger to deoptimize stack frames to allow inspection. |
DEBUGGER |
@@ -150,7 +149,8 @@ class Deoptimizer : public Malloced { |
int output_count() const { return output_count_; } |
- Code::Kind compiled_code_kind() const { return compiled_code_->kind(); } |
+ Code* compiled_code() const { return compiled_code_; } |
+ JSFunction* function() const { return function_; } |
// Number of created JS frames. Not all created frames are necessarily JS. |
int jsframe_count() const { return jsframe_count_; } |
@@ -359,7 +359,6 @@ class Deoptimizer : public Malloced { |
void DeleteFrameDescriptions(); |
void DoComputeOutputFrames(); |
- void DoComputeOsrOutputFrame(); |
void DoComputeJSFrame(TranslationIterator* iterator, int frame_index); |
void DoComputeArgumentsAdaptorFrame(TranslationIterator* iterator, |
int frame_index); |
@@ -385,13 +384,6 @@ class Deoptimizer : public Malloced { |
unsigned output_offset, |
DeoptimizerTranslatedValueType value_type = TRANSLATED_VALUE_IS_TAGGED); |
- // Translate a command for OSR. Updates the input offset to be used for |
- // the next command. Returns false if translation of the command failed |
- // (e.g., a number conversion failed) and may or may not have updated the |
- // input offset. |
- bool DoOsrTranslateCommand(TranslationIterator* iterator, |
- int* input_offset); |
- |
unsigned ComputeInputFrameSize() const; |
unsigned ComputeFixedSize(JSFunction* function) const; |