Index: src/regexp/regexp-macro-assembler-tracer.cc |
diff --git a/src/regexp/regexp-macro-assembler-tracer.cc b/src/regexp/regexp-macro-assembler-tracer.cc |
index f52069168ef9952402783ead18737b199108bbfd..2abe55588e35a1d188acf4a707fc1e0c78ba68b2 100644 |
--- a/src/regexp/regexp-macro-assembler-tracer.cc |
+++ b/src/regexp/regexp-macro-assembler-tracer.cc |
@@ -13,9 +13,9 @@ |
Isolate* isolate, RegExpMacroAssembler* assembler) |
: RegExpMacroAssembler(isolate, assembler->zone()), assembler_(assembler) { |
unsigned int type = assembler->Implementation(); |
- DCHECK(type < 8); |
- const char* impl_names[] = {"IA32", "ARM", "ARM64", "MIPS", |
- "PPC", "X64", "X87", "Bytecode"}; |
+ DCHECK(type < 6); |
+ const char* impl_names[] = {"IA32", "ARM", "ARM64", |
+ "MIPS", "X64", "X87", "Bytecode"}; |
PrintF("RegExpMacroAssembler%s();\n", impl_names[type]); |
} |
@@ -241,11 +241,9 @@ |
} |
-void RegExpMacroAssemblerTracer::CheckNotAtStart(int cp_offset, |
- Label* on_not_at_start) { |
- PrintF(" CheckNotAtStart(cp_offset=%d, label[%08x]);\n", cp_offset, |
- LabelToInt(on_not_at_start)); |
- assembler_->CheckNotAtStart(cp_offset, on_not_at_start); |
+void RegExpMacroAssemblerTracer::CheckNotAtStart(Label* on_not_at_start) { |
+ PrintF(" CheckNotAtStart(label[%08x]);\n", LabelToInt(on_not_at_start)); |
+ assembler_->CheckNotAtStart(on_not_at_start); |
} |
@@ -351,21 +349,19 @@ |
void RegExpMacroAssemblerTracer::CheckNotBackReference(int start_reg, |
- bool read_backward, |
Label* on_no_match) { |
- PrintF(" CheckNotBackReference(register=%d, %s, label[%08x]);\n", start_reg, |
- read_backward ? "backward" : "forward", LabelToInt(on_no_match)); |
- assembler_->CheckNotBackReference(start_reg, read_backward, on_no_match); |
+ PrintF(" CheckNotBackReference(register=%d, label[%08x]);\n", start_reg, |
+ LabelToInt(on_no_match)); |
+ assembler_->CheckNotBackReference(start_reg, on_no_match); |
} |
void RegExpMacroAssemblerTracer::CheckNotBackReferenceIgnoreCase( |
- int start_reg, bool read_backward, Label* on_no_match) { |
- PrintF(" CheckNotBackReferenceIgnoreCase(register=%d, %s, label[%08x]);\n", |
- start_reg, read_backward ? "backward" : "forward", |
- LabelToInt(on_no_match)); |
- assembler_->CheckNotBackReferenceIgnoreCase(start_reg, read_backward, |
- on_no_match); |
+ int start_reg, |
+ Label* on_no_match) { |
+ PrintF(" CheckNotBackReferenceIgnoreCase(register=%d, label[%08x]);\n", |
+ start_reg, LabelToInt(on_no_match)); |
+ assembler_->CheckNotBackReferenceIgnoreCase(start_reg, on_no_match); |
} |