Lines Matching full:heap
50 Heap::kHeapNumberMapRootIndex);
84 __ LoadRoot(rbx, Heap::kEmptyFixedArrayRootIndex);
85 __ LoadRoot(rcx, Heap::kTheHoleValueRootIndex);
86 __ LoadRoot(rdi, Heap::kUndefinedValueRootIndex);
111 __ PushRoot(Heap::kFalseValueRootIndex);
128 __ LoadRoot(kScratchRegister, Heap::kContextMapRootIndex);
144 __ LoadRoot(rbx, Heap::kUndefinedValueRootIndex);
178 __ CompareRoot(rcx, Heap::kUndefinedValueRootIndex);
183 Heap::RootListIndex expected_map_index;
186 expected_map_index = Heap::kFixedArrayMapRootIndex;
190 expected_map_index = Heap::kFixedCOWArrayMapRootIndex;
239 __ CompareRoot(rax, Heap::kNullValueRootIndex);
242 // Get the map and type of the heap object.
265 __ CompareRoot(rdx, Heap::kHeapNumberMapRootIndex);
289 // NumberOperands assumes both are smis or heap numbers.
597 __ LoadRoot(heap_number_map, Heap::kHeapNumberMapRootIndex);
622 // an int32, and so is not in the smi range. Allocate a heap number
628 // Allocate heap number in new space.
640 Heap::kHeapNumberMapRootIndex,
748 // Allow heap number result and don't make a transition if a heap number
753 // Code falls through if the result is not returned as either a smi or heap
785 __ CompareRoot(rdx, Heap::kUndefinedValueRootIndex);
790 __ LoadRoot(rdx, Heap::kNanValueRootIndex);
794 __ CompareRoot(rax, Heap::kUndefinedValueRootIndex);
799 __ LoadRoot(rax, Heap::kNanValueRootIndex);
844 // allocation of a heap number.
846 // Allocate a heap number for the result. Keep eax and edx intact
859 // allocation of a heap number.
863 // Allocate a heap number for the result. Keep rax and rdx intact
922 __ LoadRoot(rbx, Heap::kHeapNumberMapRootIndex);
1107 __ LoadRoot(kScratchRegister, Heap::kNanValueRootIndex);
1169 // Get the integer part of a heap number.
1282 __ CompareRoot(rdx, Heap::kUndefinedValueRootIndex);
1290 // Get the untagged integer version of the rdx heap number in rcx.
1293 // Here r8 has the untagged integer, rax has a Smi or a heap number.
1302 __ CompareRoot(rax, Heap::kUndefinedValueRootIndex);
1310 // Get the untagged integer version of the rax heap number in rcx.
1353 __ LoadRoot(rcx, Heap::kHeapNumberMapRootIndex);
1391 __ LoadRoot(heap_number_map, Heap::kHeapNumberMapRootIndex);
1457 Heap::kHeapNumberMapRootIndex);
1485 // Check if the operand is a heap number.
1487 Heap::kHeapNumberMapRootIndex);
1490 // Convert the heap number in rax to an untagged integer in rcx.
1538 // If the exponent is a heap number go to that specific case.
1550 Heap::kHeapNumberMapRootIndex);
1601 Heap::kHeapNumberMapRootIndex);
1617 Heap::kHeapNumberMapRootIndex);
1795 ASSERT(Heap::kArgumentsCalleeIndex == 1);
1798 Heap::kArgumentsCalleeIndex * kPointerSize),
1803 ASSERT(Heap::kArgumentsLengthIndex == 0);
1806 Heap::kArgumentsLengthIndex * kPointerSize),
1821 __ LoadRoot(kScratchRegister, Heap::kFixedArrayMapRootIndex);
1942 Heap::kFixedArrayMapRootIndex);
1978 Heap::kEmptyStringRootIndex);
2129 __ LoadRoot(rax, Heap::kNullValueRootIndex);
2201 __ LoadRoot(rdx, Heap::kTheHoleValueRootIndex);
2206 __ CompareRoot(rax, Heap::kTerminationExceptionRootIndex);
2255 __ LoadRoot(kScratchRegister, Heap::kEmptyFixedArrayRootIndex);
2276 __ LoadRoot(kScratchRegister, Heap::kFixedArrayMapRootIndex);
2282 __ LoadRoot(rdx, Heap::kTheHoleValueRootIndex);
2318 __ LoadRoot(number_string_cache, Heap::kNumberStringCacheRootIndex);
2330 // Heap::GetNumberStringCache.
2457 __ CompareRoot(rdx, Heap::kUndefinedValueRootIndex);
2475 // If it's not a heap number, then return equal for (in)equality operator.
2488 // It is a heap number, so return equal if it's not NaN.
2520 // Check if the non-smi operand is a heap number.
2523 // If heap number, handle it in the slow case.
2633 // A smi plus a heap object has the low bit set, a heap object plus
2634 // a heap object has the low bit clear.
2896 __ LoadRoot(rdx, Heap::kTheHoleValueRootIndex);
2901 __ CompareRoot(rax, Heap::kTerminationExceptionRootIndex);
3072 __ LoadRoot(rax, Heap::kTheHoleValueRootIndex);
3156 // __ LoadRoot(ToRegister(instr->result()), Heap::kTheHoleValueRootIndex);
3184 __ CompareRoot(rdx, Heap::kInstanceofCacheFunctionRootIndex);
3186 __ CompareRoot(rax, Heap::kInstanceofCacheMapRootIndex);
3188 __ LoadRoot(rax, Heap::kInstanceofCacheAnswerRootIndex);
3207 __ StoreRoot(rdx, Heap::kInstanceofCacheFunctionRootIndex);
3208 __ StoreRoot(rax, Heap::kInstanceofCacheMapRootIndex);
3224 __ LoadRoot(kScratchRegister, Heap::kNullValueRootIndex);
3241 __ StoreRoot(rax, Heap::kInstanceofCacheAnswerRootIndex);
3244 ASSERT((Heap::kTrueValueRootIndex << kPointerSizeLog2) - kRootRegisterBias
3262 __ StoreRoot(kScratchRegister, Heap::kInstanceofCacheAnswerRootIndex);
3265 ASSERT((Heap::kFalseValueRootIndex << kPointerSizeLog2) - kRootRegisterBias
3410 Heap::kEmptyStringRootIndex);
3454 // If index is a heap number, try converting it to an integer.
3505 // Fast case of Heap::LookupSingleCharacterStringFromCode.
3510 __ LoadRoot(result_, Heap::kSingleCharacterStringCacheRootIndex);
3514 __ CompareRoot(result_, Heap::kUndefinedValueRootIndex);
3980 __ LoadRoot(symbol_table, Heap::kSymbolTableRootIndex);
4024 __ CompareRoot(candidate, Heap::kUndefinedValueRootIndex);