Home
last modified time | relevance | path

Searched refs:code_range (Results 1 – 8 of 8) sorted by relevance

/external/v8/test/cctest/heap/
Dtest-spaces.cc130 TestCodeRangeScope(Isolate* isolate, CodeRange* code_range) in TestCodeRangeScope() argument
133 isolate->code_range_ = code_range; in TestCodeRangeScope()
150 CodeRange* code_range, in VerifyMemoryChunk() argument
159 TestCodeRangeScope test_code_range_scope(isolate, code_range); in VerifyMemoryChunk()
172 size_t alignment = code_range != NULL && code_range->valid() in VerifyMemoryChunk()
213 CodeRange* code_range = new CodeRange(isolate); in TEST() local
215 if (!code_range->SetUp( in TEST()
226 address = code_range->AllocateRawMemory( in TEST()
234 null_address = code_range->AllocateRawMemory( in TEST()
239 code_range->FreeRawMemory(address, size); in TEST()
[all …]
Dtest-alloc.cc213 CodeRange code_range(reinterpret_cast<Isolate*>(CcTest::isolate())); in TEST() local
214 code_range.SetUp(code_range_size + in TEST()
234 Address base = code_range.AllocateRawMemory( in TEST()
244 code_range.FreeRawMemory(blocks[index].base, blocks[index].size); in TEST()
/external/v8/src/heap/
Dspaces.cc342 DCHECK(isolate_->code_range() == NULL || in FreeMemory()
343 !isolate_->code_range()->contains( in FreeMemory()
345 DCHECK(executable == NOT_EXECUTABLE || isolate_->code_range() == NULL || in FreeMemory()
346 !isolate_->code_range()->valid() || in FreeMemory()
356 if (isolate_->code_range() != NULL && in FreeMemory()
357 isolate_->code_range()->contains(static_cast<Address>(base))) { in FreeMemory()
359 isolate_->code_range()->FreeRawMemory(base, size); in FreeMemory()
361 DCHECK(executable == NOT_EXECUTABLE || isolate_->code_range() == NULL || in FreeMemory()
362 !isolate_->code_range()->valid()); in FreeMemory()
522 CodeRange* code_range = heap_->isolate()->code_range(); in CommitArea() local
[all …]
Dheap.cc3336 DCHECK(isolate_->code_range() == NULL || !isolate_->code_range()->valid() || in AllocateCode()
3337 isolate_->code_range()->contains(code->address()) || in AllocateCode()
3362 DCHECK(isolate_->code_range() == NULL || !isolate_->code_range()->valid() || in CopyCode()
3363 isolate_->code_range()->contains(code->address()) || in CopyCode()
3408 DCHECK(isolate_->code_range() == NULL || !isolate_->code_range()->valid() || in CopyCode()
3409 isolate_->code_range()->contains(code->address()) || in CopyCode()
5108 if (!isolate_->code_range()->SetUp(code_range_size_)) return false; in SetUp()
/external/v8/src/x64/
Dassembler-x64-inl.h81 emitl(static_cast<uint32_t>(entry - isolate()->code_range()->start())); in emit_runtime_entry()
302 return Memory::int32_at(pc) + isolate()->code_range()->start(); in runtime_entry_at()
/external/v8/src/
Dfactory.cc1429 DCHECK(isolate()->code_range() == NULL || !isolate()->code_range()->valid() || in NewCode()
1430 isolate()->code_range()->contains(code->address()) || in NewCode()
Disolate.h808 CodeRange* code_range() { return code_range_; } in code_range() function
Dapi.cc7520 if (isolate->code_range()->valid()) { in GetCodeRange()
7521 *start = isolate->code_range()->start(); in GetCodeRange()
7522 *length_in_bytes = isolate->code_range()->size(); in GetCodeRange()