Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Unified Diff: runtime/vm/deopt_instructions.cc

Issue 1175523002: Object pool with support for untagged entries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/deopt_instructions.h ('k') | runtime/vm/instructions_arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/deopt_instructions.cc
diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc
index 22ecaf5019ec47352c646a2c553e15aa068fd56f..0acf361fb8ad0c09aad7ea14bf984cd080e54266 100644
--- a/runtime/vm/deopt_instructions.cc
+++ b/runtime/vm/deopt_instructions.cc
@@ -27,7 +27,7 @@ DeoptContext::DeoptContext(const StackFrame* frame,
fpu_register_t* fpu_registers,
intptr_t* cpu_registers)
: code_(code.raw()),
- object_pool_(code.ObjectPool()),
+ object_pool_(code.GetObjectPool()),
deopt_info_(TypedData::null()),
dest_frame_is_allocated_(false),
dest_frame_(NULL),
@@ -774,7 +774,7 @@ class DeoptMaterializeObjectInstr : public DeoptInstr {
uword DeoptInstr::GetRetAddress(DeoptInstr* instr,
- const Array& object_table,
+ const ObjectPool& object_table,
Code* code) {
ASSERT(instr->kind() == kRetAddress);
DeoptRetAddressInstr* ret_address_instr =
@@ -786,7 +786,7 @@ uword DeoptInstr::GetRetAddress(DeoptInstr* instr,
Thread* thread = Thread::Current();
Zone* zone = thread->zone();
Function& function = Function::Handle(zone);
- function ^= object_table.At(ret_address_instr->object_table_index());
+ function ^= object_table.ObjectAt(ret_address_instr->object_table_index());
ASSERT(code != NULL);
const Error& error = Error::Handle(zone,
Compiler::EnsureUnoptimizedCode(thread, function));
@@ -937,7 +937,7 @@ DeoptInfoBuilder::DeoptInfoBuilder(Zone* zone,
intptr_t DeoptInfoBuilder::FindOrAddObjectInTable(const Object& obj) const {
- return assembler_->object_pool().FindObject(obj, kNotPatchable);
+ return assembler_->object_pool_wrapper().FindObject(obj);
}
« no previous file with comments | « runtime/vm/deopt_instructions.h ('k') | runtime/vm/instructions_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698