Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index a9ad5cf6971bc53c5c7bd174634c440b7aff5903..d3fdbd6b33ad2e3a603d2c91991019d4e3b1d6d9 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -967,6 +967,12 @@ class MacroAssembler: public Assembler { |
// handler chain. |
void ThrowUncatchable(Register value); |
+ // Throw a message string as an exception. |
+ void Throw(BailoutReason reason); |
+ |
+ // Throw a message string as an exception if a condition is not true. |
+ void ThrowIf(Condition cc, BailoutReason reason, Register rs, Operand rt); |
+ |
// Copies a fixed number of fields of heap objects from src to dst. |
void CopyFields(Register dst, Register src, RegList temps, int field_count); |
@@ -1452,6 +1458,12 @@ class MacroAssembler: public Assembler { |
void JumpIfNotUniqueName(Register reg, Label* not_unique_name); |
+ void EmitSeqStringSetCharCheck(Register string, |
+ Register index, |
+ Register value, |
+ Register scratch, |
+ uint32_t encoding_mask); |
+ |
// Test that both first and second are sequential ASCII strings. |
// Assume that they are non-smis. |
void JumpIfNonSmisNotBothSequentialAsciiStrings(Register first, |