Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 47ce01bd0c719839e850bde2307b61472c9c5587..e7eb104c0b8603705407531197abbb248ab2e1ba 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -921,7 +921,7 @@ class MacroAssembler: public Assembler { |
// Allocate a raw cons string object. Only the map field of the result is |
// initialized. |
- void AllocateConsString(Register result, |
+ void AllocateTwoByteConsString(Register result, |
Register scratch1, |
Register scratch2, |
Label* gc_required); |
@@ -930,6 +930,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 AllocateTwoByteSlicedString(Register result, |
+ Register scratch1, |
+ Register scratch2, |
+ Label* gc_required); |
+ void AllocateAsciiSlicedString(Register result, |
+ Register scratch1, |
+ Register scratch2, |
+ Label* gc_required); |
+ |
// --------------------------------------------------------------------------- |
// Support functions. |