Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 6caa16f1c6eb82e79edf044ab5bbc7b09128bce7..7054192a0f688aae0ece10d2c114aaa15dcdf802 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -268,6 +268,9 @@ RUNTIME_FUNCTION(Runtime_GetOptimizationStatus) { |
if (function->IsOptimized() && function->code()->is_turbofanned()) { |
return Smi::FromInt(7); // 7 == "TurboFan compiler". |
} |
+ if (function->IsInterpreted()) { |
+ return Smi::FromInt(8); // 8 == "Interpreted". |
+ } |
return function->IsOptimized() ? Smi::FromInt(1) // 1 == "yes". |
: Smi::FromInt(2); // 2 == "no". |
} |