Home
last modified time | relevance | path

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

/external/chromium_org/v8/test/cctest/
Dtest-spaces.cc130 TestCodeRangeScope(Isolate* isolate, CodeRange* code_range) in TestCodeRangeScope() argument
133 isolate->code_range_ = code_range; in TestCodeRangeScope()
152 CodeRange* code_range, in VerifyMemoryChunk() argument
161 TestCodeRangeScope test_code_range_scope(isolate, code_range); in VerifyMemoryChunk()
174 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(code_range_size)) return; in TEST()
218 address = code_range->AllocateRawMemory(code_range_size - MB, in TEST()
223 null_address = code_range->AllocateRawMemory( in TEST()
226 code_range->FreeRawMemory(address, size); in TEST()
[all …]
Dtest-alloc.cc200 CodeRange code_range(reinterpret_cast<Isolate*>(CcTest::isolate())); in TEST() local
201 code_range.SetUp(code_range_size); in TEST()
217 Address base = code_range.AllocateRawMemory(requested, in TEST()
227 code_range.FreeRawMemory(blocks[index].base, blocks[index].size); in TEST()
237 code_range.TearDown(); in TEST()
/external/chromium_org/v8/src/heap/
Dspaces.cc310 DCHECK(isolate_->code_range() == NULL || in FreeMemory()
311 !isolate_->code_range()->contains( in FreeMemory()
313 DCHECK(executable == NOT_EXECUTABLE || isolate_->code_range() == NULL || in FreeMemory()
314 !isolate_->code_range()->valid()); in FreeMemory()
331 if (isolate_->code_range() != NULL && in FreeMemory()
332 isolate_->code_range()->contains(static_cast<Address>(base))) { in FreeMemory()
334 isolate_->code_range()->FreeRawMemory(base, size); in FreeMemory()
336 DCHECK(executable == NOT_EXECUTABLE || isolate_->code_range() == NULL || in FreeMemory()
337 !isolate_->code_range()->valid()); in FreeMemory()
499 CodeRange* code_range = heap_->isolate()->code_range(); in CommitArea() local
[all …]
Dheap.cc3452 DCHECK(isolate_->code_range() == NULL || !isolate_->code_range()->valid() || in AllocateCode()
3453 isolate_->code_range()->contains(code->address())); in AllocateCode()
3489 DCHECK(isolate_->code_range() == NULL || !isolate_->code_range()->valid() || in CopyCode()
3490 isolate_->code_range()->contains(code->address())); in CopyCode()
3547 DCHECK(isolate_->code_range() == NULL || !isolate_->code_range()->valid() || in CopyCode()
3548 isolate_->code_range()->contains(code->address())); in CopyCode()
5102 if (!isolate_->code_range()->SetUp(code_range_size_)) return false; in SetUp()
/external/chromium_org/v8/src/x64/
Dassembler-x64-inl.h81 emitl(static_cast<uint32_t>(entry - isolate()->code_range()->start())); in emit_runtime_entry()
220 return Memory::int32_at(pc) + isolate()->code_range()->start(); in runtime_entry_at()
/external/chromium_org/v8/src/
Dfactory.cc1443 DCHECK(isolate()->code_range() == NULL || in NewCode()
1444 !isolate()->code_range()->valid() || in NewCode()
1445 isolate()->code_range()->contains(code->address())); in NewCode()
Disolate.h862 CodeRange* code_range() { return code_range_; } in code_range() function