Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index d41ddd2ccf0592d16cc76b38f65130ca55c3550a..3e3314a22f610467e383c9fdcc494ca2bc1daee4 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3202,6 +3202,14 @@ void MacroAssembler::AllocateAsciiSlicedString(Register result, |
} |
+void MacroAssembler::JumpIfNotUniqueName(Register reg, |
+ Label* not_unique_name) { |
+ STATIC_ASSERT(((SYMBOL_TYPE - 1) & kIsInternalizedMask) == kInternalizedTag); |
+ Branch(not_unique_name, lt, reg, Operand(kIsInternalizedMask)); |
+ Branch(not_unique_name, gt, reg, Operand(SYMBOL_TYPE)); |
+} |
+ |
+ |
// Allocates a heap number or jumps to the label if the young space is full and |
// a scavenge is needed. |
void MacroAssembler::AllocateHeapNumber(Register result, |