diff options
Diffstat (limited to 'deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc')
-rw-r--r-- | deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc b/deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc index 8449c631d3..fc9548fc78 100644 --- a/deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc +++ b/deps/v8/src/regexp/s390/regexp-macro-assembler-s390.cc @@ -98,7 +98,7 @@ RegExpMacroAssemblerS390::RegExpMacroAssemblerS390(Isolate* isolate, Zone* zone, Mode mode, int registers_to_save) : NativeRegExpMacroAssembler(isolate, zone), - masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, + masm_(new MacroAssembler(isolate, nullptr, kRegExpCodeSize, CodeObjectRequired::kYes)), mode_(mode), num_registers_(registers_to_save), @@ -910,7 +910,7 @@ Handle<HeapObject> RegExpMacroAssemblerS390::GetCode(Handle<String> source) { __ mov(r4, Operand(ExternalReference::isolate_address(isolate()))); ExternalReference grow_stack = ExternalReference::re_grow_stack(isolate()); __ CallCFunction(grow_stack, num_arguments); - // If return NULL, we have failed to grow the stack, and + // If return nullptr, we have failed to grow the stack, and // must exit with a stack-overflow exception. __ CmpP(r2, Operand::Zero()); __ beq(&exit_with_exception); @@ -1136,14 +1136,14 @@ void RegExpMacroAssemblerS390::CheckPosition(int cp_offset, void RegExpMacroAssemblerS390::BranchOrBacktrack(Condition condition, Label* to, CRegister cr) { if (condition == al) { // Unconditional. - if (to == NULL) { + if (to == nullptr) { Backtrack(); return; } __ b(to); return; } - if (to == NULL) { + if (to == nullptr) { __ b(condition, &backtrack_label_); return; } |