Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index d79df5ea55e88facec05908a3e96f0339cf845da..328a69b8e8b2485225f7657e4578f6a642be5167 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -446,6 +446,17 @@ class MacroAssembler: public Assembler { |
Register scratch2, |
Label* gc_required); |
+ // Allocate a raw sliced string object. Only the map field of the result is |
+ // initialized. |
+ void AllocateSlicedString(Register result, |
+ Register scratch1, |
+ Register scratch2, |
+ Label* gc_required); |
+ void AllocateAsciiSlicedString(Register result, |
+ Register scratch1, |
+ Register scratch2, |
+ Label* gc_required); |
+ |
// Copy memory, byte-by-byte, from source to destination. Not optimized for |
// long or aligned copies. |
// The contents of index and scratch are destroyed. |