Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index e30b350df3169ec7f58eaeddbcf266efd689d521..2bed223609a804ff6ce6658c30847de411b94e00 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -13027,6 +13027,16 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_Abort) { |
} |
+RUNTIME_FUNCTION(MaybeObject*, Runtime_UnexpectedDeopt) { |
+ ASSERT(args.length() == 0); |
+ OS::PrintError("Unexpected deoptimization"); |
+ isolate->PrintStack(); |
+ OS::Abort(); |
+ UNREACHABLE(); |
+ return NULL; |
+} |
+ |
+ |
RUNTIME_FUNCTION(MaybeObject*, Runtime_FlattenString) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 1); |