Index: src/runtime/runtime-i18n.cc |
diff --git a/src/runtime/runtime-i18n.cc b/src/runtime/runtime-i18n.cc |
index b4f2e929e31933910c0abea57f2045ad4d279f4e..684699edf1837773e382ecc830db65e2e9c0f967 100644 |
--- a/src/runtime/runtime-i18n.cc |
+++ b/src/runtime/runtime-i18n.cc |
@@ -926,7 +926,7 @@ RUNTIME_FUNCTION(Runtime_BreakIteratorBreakType) { |
if (status >= UBRK_WORD_NONE && status < UBRK_WORD_NONE_LIMIT) { |
return *isolate->factory()->NewStringFromStaticChars("none"); |
} else if (status >= UBRK_WORD_NUMBER && status < UBRK_WORD_NUMBER_LIMIT) { |
- return *isolate->factory()->number_string(); |
+ return isolate->heap()->number_string(); |
} else if (status >= UBRK_WORD_LETTER && status < UBRK_WORD_LETTER_LIMIT) { |
return *isolate->factory()->NewStringFromStaticChars("letter"); |
} else if (status >= UBRK_WORD_KANA && status < UBRK_WORD_KANA_LIMIT) { |