Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 65888acbf00d48974464a5e2872b04f078360f0a..1402f1de402eb3f706e0f2ad76c0848fe3979955 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -227,7 +227,7 @@ Handle<String> Factory::InternalizeOneByteString(Vector<const uint8_t> string) { |
Handle<String> Factory::InternalizeOneByteString( |
Handle<SeqOneByteString> string, int from, int length) { |
- SubStringOneByteStringKey key(string, from, length); |
+ SubStringKey<uint8_t> key(string, from, length); |
return InternalizeStringWithKey(&key); |
} |
@@ -246,6 +246,12 @@ Handle<String> Factory::InternalizeStringWithKey(StringTableKey* key) { |
} |
+template Handle<String> Factory::InternalizeStringWithKey< |
+ SubStringKey<uint8_t> > (SubStringKey<uint8_t>* key); |
+template Handle<String> Factory::InternalizeStringWithKey< |
+ SubStringKey<uint16_t> > (SubStringKey<uint16_t>* key); |
+ |
+ |
Handle<String> Factory::NewStringFromOneByte(Vector<const uint8_t> string, |
PretenureFlag pretenure) { |
CALL_HEAP_FUNCTION( |