mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6978355: renaming for 6961697
This is the renaming part of 6961697 to keep the actual changes small for review. Reviewed-by: kvn, never
This commit is contained in:
parent
3756a7daa9
commit
a4b2fe3b1c
66 changed files with 613 additions and 658 deletions
|
@ -400,7 +400,7 @@ void Compile::init_scratch_buffer_blob() {
|
|||
}
|
||||
|
||||
// Initialize the relocation buffers
|
||||
relocInfo* locs_buf = (relocInfo*) blob->instructions_end() - MAX_locs_size;
|
||||
relocInfo* locs_buf = (relocInfo*) blob->content_end() - MAX_locs_size;
|
||||
set_scratch_locs_memory(locs_buf);
|
||||
}
|
||||
|
||||
|
@ -422,9 +422,9 @@ uint Compile::scratch_emit_size(const Node* n) {
|
|||
assert(blob != NULL, "Initialize BufferBlob at start");
|
||||
assert(blob->size() > MAX_inst_size, "sanity");
|
||||
relocInfo* locs_buf = scratch_locs_memory();
|
||||
address blob_begin = blob->instructions_begin();
|
||||
address blob_begin = blob->content_begin();
|
||||
address blob_end = (address)locs_buf;
|
||||
assert(blob->instructions_contains(blob_end), "sanity");
|
||||
assert(blob->content_contains(blob_end), "sanity");
|
||||
CodeBuffer buf(blob_begin, blob_end - blob_begin);
|
||||
buf.initialize_consts_size(MAX_const_size);
|
||||
buf.initialize_stubs_size(MAX_stubs_size);
|
||||
|
@ -433,7 +433,7 @@ uint Compile::scratch_emit_size(const Node* n) {
|
|||
buf.insts()->initialize_shared_locs(&locs_buf[0], lsize);
|
||||
buf.stubs()->initialize_shared_locs(&locs_buf[lsize], lsize);
|
||||
n->emit(buf, this->regalloc());
|
||||
return buf.code_size();
|
||||
return buf.insts_size();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue