Handle noi18n in deopt.
authorjarin@chromium.org <jarin@chromium.org>
Sun, 26 Oct 2014 10:44:57 +0000 (10:44 +0000)
committerjarin@chromium.org <jarin@chromium.org>
Sun, 26 Oct 2014 10:45:15 +0000 (10:45 +0000)
TBR=bmeurer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/670023003

Cr-Commit-Position: refs/heads/master@{#24887}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24887 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/compiler/linkage.cc

index 3f4d53b..4239f9f 100644 (file)
@@ -155,7 +155,6 @@ bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
     case Runtime::kFunctionBindArguments:
     case Runtime::kGetDefaultReceiver:
     case Runtime::kGetFrameCount:
-    case Runtime::kGetImplFromInitializedIntlObject:
     case Runtime::kGetOwnProperty:
     case Runtime::kGetOwnPropertyNames:
     case Runtime::kGetPropertyNamesFast:
@@ -204,6 +203,9 @@ bool Linkage::NeedsFrameState(Runtime::FunctionId function) {
     case Runtime::kThrow:
     case Runtime::kTypedArraySetFastCases:
     case Runtime::kTypedArrayInitializeFromArrayLike:
+#ifdef V8_I18N_SUPPORT
+    case Runtime::kGetImplFromInitializedIntlObject:
+#endif
       return true;
     default:
       return false;