Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index db0cc0bdeb85f4c145a514d81dbd80b98927018e..895ed669091e0f6040e1ca1d1e2b7b6880bb1521 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -356,9 +356,17 @@ class Deoptimizer : public Malloced { |
bool is_setter_stub_frame); |
void DoComputeCompiledStubFrame(TranslationIterator* iterator, |
int frame_index); |
+ |
+ enum DeoptimizerTranslatedValueType { |
+ TRANSLATED_VALUE_IS_NATIVE, |
+ TRANSLATED_VALUE_IS_TAGGED |
+ }; |
+ |
void DoTranslateCommand(TranslationIterator* iterator, |
- int frame_index, |
- unsigned output_offset); |
+ int frame_index, |
+ 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 |