Issue #1679 - Part4: Clean up commented-out/WIP code.

This commit is contained in:
Moonchild 2021-07-30 09:58:15 +00:00 committed by roytam1
commit 12231d9266
3 changed files with 0 additions and 14 deletions

View file

@ -89,17 +89,6 @@ void SMRegExpMacroAssembler::AdvanceRegister(int reg, int by) {
}
void SMRegExpMacroAssembler::Backtrack() {
// Check for an interrupt.
/*Label noInterrupt;
Address lhs = Address(cx_->runtime()->addressOfInterruptUint32());
masm_.branchtest32(Assembler::Zero,
lhs,
Imm32(0),
&noInterrupt);
masm_.movePtr(ImmWord(RegExpRunStatus_Error), temp0_);
masm_.jump(&exit_label_);
masm_.bind(&noInterrupt);
*/
// Pop code location from backtrack stack and jump to location.
Pop(temp0_);
masm_.jump(temp0_);

View file

@ -127,8 +127,6 @@ PseudoHandle<ByteArrayData> ByteArray::takeOwnership(Isolate* isolate) {
}
void Isolate::trace(JSTracer* trc) {
//js::gc::AssertRootMarkingPhase(trc);
for (auto iter = handleArena_.Iter(); !iter.Done(); iter.Next()) {
auto& elem = iter.Get();
JS::GCPolicy<JS::Value>::trace(trc, &elem, "Isolate handle arena");

View file

@ -1173,7 +1173,6 @@ extern bool FLAG_trace_regexp_bytecodes;
extern bool FLAG_trace_regexp_parser;
extern bool FLAG_trace_regexp_peephole_optimization;
// #define V8_USE_COMPUTED_GOTO 1
#define COMPILING_IRREGEXP_FOR_EXTERNAL_EMBEDDER
} // namespace internal