Home
last modified time | relevance | path

Searched refs:DCHECK (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/external/v8/src/arm64/
Dmacro-assembler-arm64-inl.h41 DCHECK(!code_object_.is_null()); in CodeObject()
49 DCHECK(allow_macro_instructions_); in And()
50 DCHECK(!rd.IsZero()); in And()
58 DCHECK(allow_macro_instructions_); in Ands()
59 DCHECK(!rd.IsZero()); in Ands()
66 DCHECK(allow_macro_instructions_); in Tst()
74 DCHECK(allow_macro_instructions_); in Bic()
75 DCHECK(!rd.IsZero()); in Bic()
83 DCHECK(allow_macro_instructions_); in Bics()
84 DCHECK(!rd.IsZero()); in Bics()
[all …]
Dassembler-arm64-inl.h28 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in set_target_address()
40 DCHECK(IsValid()); in code()
46 DCHECK(IsValidOrNone()); in type()
52 DCHECK(reg_code < (sizeof(RegList) * kBitsPerByte)); in Bit()
58 DCHECK(IsValid()); in SizeInBits()
64 DCHECK(IsValid()); in SizeInBytes()
65 DCHECK(SizeInBits() % 8 == 0); in SizeInBytes()
71 DCHECK(IsValid()); in Is32Bits()
77 DCHECK(IsValid()); in Is64Bits()
84 DCHECK(!IsNone()); in IsValid()
[all …]
Dassembler-arm64.cc69 DCHECK(IsValid()); in PopLowestIndex()
74 DCHECK((1 << index) & list_); in PopLowestIndex()
81 DCHECK(IsValid()); in PopHighestIndex()
87 DCHECK((1 << index) & list_); in PopHighestIndex()
99 DCHECK(type() == CPURegister::kNoRegister); in RemoveCalleeSaved()
100 DCHECK(IsEmpty()); in RemoveCalleeSaved()
239 DCHECK(!regs[i].IsValid()); in AreAliased()
248 DCHECK(number_of_valid_regs >= number_of_unique_regs); in AreAliased()
249 DCHECK(number_of_valid_fpregs >= number_of_unique_fpregs); in AreAliased()
260 DCHECK(reg1.IsValid()); in AreSameSizeAndType()
[all …]
Dlithium-gap-resolver-arm64.cc20 DCHECK(ScratchRegister().Is(root)); in EndDelayedUse()
21 DCHECK(!pending()); in EndDelayedUse()
35 DCHECK(moves_.is_empty()); in Resolve()
36 DCHECK(!masm_.pending()); in Resolve()
59 DCHECK(move.source()->IsConstantOperand()); in Resolve()
91 DCHECK(!current_move.IsPending()); in PerformMove()
92 DCHECK(!current_move.IsRedundant()); in PerformMove()
97 DCHECK(current_move.source() != NULL); // Otherwise it will look eliminated. in PerformMove()
124 DCHECK(other_move.IsPending()); in PerformMove()
148 DCHECK(moves_[index].destination()->Equals(moves_[root_index_].source())); in BreakCycle()
[all …]
Ddelayed-masm-arm64.cc19 DCHECK(src->IsStackSlot()); in StackSlotMove()
20 DCHECK(dst->IsStackSlot()); in StackSlotMove()
24 DCHECK(pending_pc_ == masm_->pc_offset()); in StackSlotMove()
69 DCHECK(!scratch_register_acquired_); in StoreConstant()
78 DCHECK(pending_pc_ == masm_->pc_offset()); in StoreConstant()
107 DCHECK(pending_pc_ == masm_->pc_offset()); in Load()
108 DCHECK(!IsScratchRegister(pending_register_) || in Load()
110 DCHECK(!IsScratchRegister(rd) || scratch_register_acquired_); in Load()
115 DCHECK(pending_pc_ == masm_->pc_offset()); in Load()
116 DCHECK(!IsScratchRegister(pending_register_) || in Load()
[all …]
/external/v8/test/cctest/
Dtest-global-handles.cc59 DCHECK(!has_been_disposed_); in Dispose()
124 DCHECK(can_skip_called_objects.length() == 4); in TEST()
125 DCHECK(can_skip_called_objects.Contains(*g1s1.location())); in TEST()
126 DCHECK(can_skip_called_objects.Contains(*g1s2.location())); in TEST()
127 DCHECK(can_skip_called_objects.Contains(*g2s1.location())); in TEST()
128 DCHECK(can_skip_called_objects.Contains(*g2s2.location())); in TEST()
131 DCHECK(visitor.visited.length() == 0); in TEST()
132 DCHECK(!info1.has_been_disposed()); in TEST()
133 DCHECK(!info2.has_been_disposed()); in TEST()
148 DCHECK(can_skip_called_objects.length() == 3 || in TEST()
[all …]
Dtest-utils-arm64.h62 DCHECK(RegAliasesMatch(code)); in wreg()
70 DCHECK(RegAliasesMatch(code)); in xreg()
76 DCHECK(FPRegAliasesMatch(code)); in sreg_bits()
85 DCHECK(FPRegAliasesMatch(code)); in dreg_bits()
95 DCHECK(SPRegAliasesMatch()); in spreg()
100 DCHECK(SPRegAliasesMatch()); in wspreg()
106 DCHECK(IsComplete()); in flags_nzcv()
107 DCHECK((dump_.flags_ & ~Flags_mask) == 0); in flags_nzcv()
123 DCHECK(IsComplete()); in RegAliasesMatch()
124 DCHECK(code < kNumberOfRegisters); in RegAliasesMatch()
[all …]
/external/v8/src/
Dregexp-macro-assembler-irregexp.cc43 DCHECK(!l->is_bound()); in Bind()
72 DCHECK(register_index >= 0); in PopRegister()
73 DCHECK(register_index <= kMaxRegister); in PopRegister()
81 DCHECK(register_index >= 0); in PushRegister()
82 DCHECK(register_index <= kMaxRegister); in PushRegister()
89 DCHECK(register_index >= 0); in WriteCurrentPositionToRegister()
90 DCHECK(register_index <= kMaxRegister); in WriteCurrentPositionToRegister()
97 DCHECK(reg_from <= reg_to); in ClearRegisters()
106 DCHECK(register_index >= 0); in ReadCurrentPositionFromRegister()
107 DCHECK(register_index <= kMaxRegister); in ReadCurrentPositionFromRegister()
[all …]
Dscopeinfo.cc24 DCHECK(scope->StackLocalCount() == stack_local_count); in Create()
25 DCHECK(scope->ContextLocalCount() == context_local_count); in Create()
37 DCHECK(var->IsStackLocal()); in Create()
70 DCHECK(index == scope_info->ParameterEntriesIndex()); in Create()
78 DCHECK(index == scope_info->StackLocalEntriesIndex()); in Create()
80 DCHECK(stack_locals[i]->index() == i); in Create()
93 DCHECK(index == scope_info->ContextLocalNameEntriesIndex()); in Create()
99 DCHECK(index == scope_info->ContextLocalInfoEntriesIndex()); in Create()
110 DCHECK(index == scope_info->FunctionNameEntryIndex()); in Create()
115 DCHECK(function_name_info != STACK || in Create()
[all …]
Ddate.cc34 DCHECK(stamp_ != Smi::FromInt(kInvalidStamp)); in ResetDateCache()
76 DCHECK(DaysFromYearMonth(*year, 0) + days == save_days); in YearMonthDayFromDays()
96 DCHECK(days >= -1); in YearMonthDayFromDays()
97 DCHECK(is_leap || (days >= 0)); in YearMonthDayFromDays()
98 DCHECK((days < 365) || (is_leap && (days < 366))); in YearMonthDayFromDays()
99 DCHECK(is_leap == ((*year % 4 == 0) && (*year % 100 || (*year % 400 == 0)))); in YearMonthDayFromDays()
100 DCHECK(is_leap || ((DaysFromYearMonth(*year, 0) + days) == save_days)); in YearMonthDayFromDays()
101 DCHECK(!is_leap || ((DaysFromYearMonth(*year, 0) + days + 1) == save_days)); in YearMonthDayFromDays()
127 DCHECK(DaysFromYearMonth(*year, *month) + *day - 1 == save_days); in YearMonthDayFromDays()
149 DCHECK(month >= 0); in DaysFromYearMonth()
[all …]
Dbignum.cc29 DCHECK(kBigitSize >= BitSize(value)); in AssignUInt16()
75 DCHECK(0 <= digit && digit <= 9); in ReadUInt64()
151 DCHECK(IsClamped()); in AddBignum()
152 DCHECK(other.IsClamped()); in AddBignum()
173 DCHECK(bigit_pos >= 0); in AddBignum()
188 DCHECK(IsClamped()); in AddBignum()
193 DCHECK(IsClamped()); in SubtractBignum()
194 DCHECK(other.IsClamped()); in SubtractBignum()
196 DCHECK(LessEqual(other, *this)); in SubtractBignum()
204 DCHECK((borrow == 0) || (borrow == 1)); in SubtractBignum()
[all …]
Dtransitions-inl.h31 DCHECK(object->IsTransitionArray()); in cast()
62 DCHECK(IsFullTransitionArray()); in GetPrototypeTransitions()
70 DCHECK(IsFullTransitionArray()); in SetPrototypeTransitions()
71 DCHECK(transitions->IsFixedArray()); in SetPrototypeTransitions()
86 DCHECK(!IsSimpleTransition()); in GetKeySlot()
87 DCHECK(transition_number < number_of_transitions()); in GetKeySlot()
99 DCHECK(transition_number < number_of_transitions()); in GetKey()
105 DCHECK(!IsSimpleTransition()); in SetKey()
106 DCHECK(transition_number < number_of_transitions()); in SetKey()
113 DCHECK(transition_number == kSimpleTransitionIndex); in GetTarget()
[all …]
Dcontexts.cc18 DCHECK(current->closure() == closure()); in declaration_context()
29 DCHECK(object->IsJSBuiltinsObject()); in builtins()
54 DCHECK(this->GetIsolate()->bootstrapper()->IsActive()); in native_context()
82 DCHECK(attrs.has_value || isolate->has_pending_exception()); in UnscopableLookup()
98 DCHECK(isolate->has_pending_exception()); in UnscopableLookup()
153 DCHECK(!isolate->has_pending_exception()); in Lookup()
184 DCHECK(slot_index < 0 || slot_index >= MIN_CONTEXT_SLOTS); in Lookup()
245 DCHECK(mode == CONST_LEGACY || mode == CONST); in Lookup()
281 DCHECK(IsNativeContext()); in AddOptimizedFunction()
311 DCHECK(function->next_function_link()->IsUndefined()); in AddOptimizedFunction()
[all …]
Dregexp-macro-assembler.cc46 DCHECK(subject->IsExternalString() || subject->IsSeqString()); in StringCharacterPosition()
47 DCHECK(start_index >= 0); in StringCharacterPosition()
48 DCHECK(start_index <= subject->length()); in StringCharacterPosition()
55 DCHECK(subject->IsSeqOneByteString()); in StringCharacterPosition()
65 DCHECK(subject->IsSeqTwoByteString()); in StringCharacterPosition()
80 DCHECK(subject->IsFlat()); in Match()
81 DCHECK(previous_index >= 0); in Match()
82 DCHECK(previous_index <= subject->length()); in Match()
106 DCHECK(subject_ptr->IsExternalString() || subject_ptr->IsSeqString()); in Match()
150 DCHECK(result >= RETRY); in Execute()
[all …]
Dv8threads.cc25 DCHECK(isolate != NULL); in Initialize()
55 DCHECK(isolate_->thread_manager()->IsLockedByCurrentThread()); in Initialize()
60 DCHECK(isolate != NULL); in IsLocked()
72 DCHECK(isolate_->thread_manager()->IsLockedByCurrentThread()); in ~Locker()
85 DCHECK(isolate != NULL); in Initialize()
87 DCHECK(isolate_->thread_manager()->IsLockedByCurrentThread()); in Initialize()
94 DCHECK(!isolate_->thread_manager()->IsLockedByCurrentThread()); in ~Unlocker()
104 DCHECK(IsLockedByCurrentThread()); in RestoreThread()
112 DCHECK(per_thread != NULL); in RestoreThread()
113 DCHECK(per_thread->thread_state() == lazily_archived_thread_state_); in RestoreThread()
[all …]
/external/v8/src/base/platform/
Delapsed-timer.h24 DCHECK(!IsStarted()); in Start()
29 DCHECK(IsStarted()); in Start()
35 DCHECK(IsStarted()); in Stop()
40 DCHECK(!IsStarted()); in Stop()
45 DCHECK(started_ || start_ticks_.IsNull()); in IsStarted()
46 DCHECK(!started_ || !start_ticks_.IsNull()); in IsStarted()
56 DCHECK(IsStarted()); in Restart()
59 DCHECK(elapsed.InMicroseconds() >= 0); in Restart()
61 DCHECK(IsStarted()); in Restart()
68 DCHECK(IsStarted()); in Elapsed()
[all …]
/external/v8/src/mips64/
Dassembler-mips64.cc70 DCHECK(index >= 0 && index < kMaxNumAllocatableRegisters); in AllocationIndexToString()
115 DCHECK(reg.is_valid()); in ToNumber()
155 DCHECK(num >= 0 && num < kNumRegisters); in ToRegister()
225 DCHECK(!HeapObject::cast(obj)->GetHeap()->InNewSpace(obj)); in Operand()
310 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
321 DCHECK(m >= 4 && base::bits::IsPowerOfTwo32(m)); in Align()
560 DCHECK(type < 32); in IsNop()
583 DCHECK(IsBranch(instr)); in GetBranchOffset()
594 DCHECK(IsLw(instr)); in GetLwOffset()
600 DCHECK(IsLw(instr)); in SetLwOffset()
[all …]
/external/v8/src/ic/arm/
Dstub-cache-arm.cc33 DCHECK(value_off_addr > key_off_addr); in ProbeTable()
34 DCHECK((value_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
35 DCHECK((value_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
36 DCHECK(map_off_addr > key_off_addr); in ProbeTable()
37 DCHECK((map_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
38 DCHECK((map_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
74 DCHECK(__ ImmediateFitsAddrMode1Instruction(mask)); in ProbeTable()
106 DCHECK(sizeof(Entry) == 12); in GenerateProbe()
109 DCHECK(Code::ExtractTypeFromFlags(flags) == 0); in GenerateProbe()
112 DCHECK(!scratch.is(receiver)); in GenerateProbe()
[all …]
/external/v8/src/mips/
Dassembler-mips.cc70 DCHECK(index >= 0 && index < kMaxNumAllocatableRegisters); in AllocationIndexToString()
137 DCHECK(reg.is_valid()); in ToNumber()
177 DCHECK(num >= 0 && num < kNumRegisters); in ToRegister()
247 DCHECK(!HeapObject::cast(obj)->GetHeap()->InNewSpace(obj)); in Operand()
332 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
343 DCHECK(m >= 4 && base::bits::IsPowerOfTwo32(m)); in Align()
588 DCHECK(type < 32); in IsNop()
611 DCHECK(IsBranch(instr)); in GetBranchOffset()
622 DCHECK(IsLw(instr)); in GetLwOffset()
628 DCHECK(IsLw(instr)); in SetLwOffset()
[all …]
/external/v8/src/arm/
Dassembler-arm.cc129 DCHECK(!IsSupported(VFP3) || IsSupported(ARMv7)); in ProbeImpl()
211 DCHECK(index >= 0 && index < NumAllocatableRegisters()); in AllocationIndexToString()
212 DCHECK(kScratchDoubleReg.code() - kDoubleRegZero.code() == in AllocationIndexToString()
270 DCHECK(!HeapObject::cast(obj)->GetHeap()->InNewSpace(obj)); in Operand()
282 DCHECK(is_uint5(shift_imm)); in Operand()
295 DCHECK(shift_imm == 0); in Operand()
303 DCHECK(shift_op != RRX); in Operand()
330 DCHECK(is_uint5(shift_imm)); in MemOperand()
340 DCHECK((am == Offset) || (am == PostIndex)); in NeonMemOperand()
481 DCHECK(const_pool_blocked_nesting_ == 0); in ~Assembler()
[all …]
Dassembler-arm-inl.h74 DCHECK(!reg.is(kDoubleRegZero)); in ToAllocationIndex()
75 DCHECK(!reg.is(kScratchDoubleReg)); in ToAllocationIndex()
84 DCHECK(index >= 0 && index < NumAllocatableRegisters()); in FromAllocationIndex()
85 DCHECK(kScratchDoubleReg.code() - kDoubleRegZero.code() == in FromAllocationIndex()
106 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in target_address()
112 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) in target_address_address()
121 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); in target_address_address()
128 DCHECK(IsInConstantPool()); in constant_pool_entry_address()
141 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in set_target_address()
153 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
[all …]
/external/v8/src/ic/mips/
Dstub-cache-mips.cc33 DCHECK(value_off_addr > key_off_addr); in ProbeTable()
34 DCHECK((value_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
35 DCHECK((value_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
36 DCHECK(map_off_addr > key_off_addr); in ProbeTable()
37 DCHECK((map_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
38 DCHECK((map_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
102 DCHECK(sizeof(Entry) == 12); in GenerateProbe()
105 DCHECK(Code::ExtractTypeFromFlags(flags) == 0); in GenerateProbe()
108 DCHECK(!scratch.is(receiver)); in GenerateProbe()
109 DCHECK(!scratch.is(name)); in GenerateProbe()
[all …]
/external/v8/src/ic/mips64/
Dstub-cache-mips64.cc33 DCHECK(value_off_addr > key_off_addr); in ProbeTable()
34 DCHECK((value_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
35 DCHECK((value_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
36 DCHECK(map_off_addr > key_off_addr); in ProbeTable()
37 DCHECK((map_off_addr - key_off_addr) % 4 == 0); in ProbeTable()
38 DCHECK((map_off_addr - key_off_addr) < (256 * 4)); in ProbeTable()
106 DCHECK(Code::ExtractTypeFromFlags(flags) == 0); in GenerateProbe()
109 DCHECK(!scratch.is(receiver)); in GenerateProbe()
110 DCHECK(!scratch.is(name)); in GenerateProbe()
111 DCHECK(!extra.is(receiver)); in GenerateProbe()
[all …]
/external/v8/src/ia32/
Dassembler-ia32-inl.h90 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in target_address()
96 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) in target_address_address()
118 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in set_target_address()
129 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
135 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object_handle()
143 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in set_target_object()
158 DCHECK(rmode_ == RelocInfo::EXTERNAL_REFERENCE); in target_reference()
164 DCHECK(IsRuntimeEntry(rmode_)); in target_runtime_entry()
172 DCHECK(IsRuntimeEntry(rmode_)); in set_target_runtime_entry()
180 DCHECK(rmode_ == RelocInfo::CELL); in target_cell_handle()
[all …]
/external/v8/src/x87/
Dassembler-x87-inl.h90 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in target_address()
96 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) in target_address_address()
119 DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); in set_target_address()
130 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object()
136 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in target_object_handle()
144 DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); in set_target_object()
159 DCHECK(rmode_ == RelocInfo::EXTERNAL_REFERENCE); in target_reference()
165 DCHECK(IsRuntimeEntry(rmode_)); in target_runtime_entry()
173 DCHECK(IsRuntimeEntry(rmode_)); in set_target_runtime_entry()
181 DCHECK(rmode_ == RelocInfo::CELL); in target_cell_handle()
[all …]

12345678910>>...23