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

Unified Diff: runtime/vm/instructions_x64.h

Issue 1147303002: Support untagged object pool entries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rebased Created 5 years, 7 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
Index: runtime/vm/instructions_x64.h
diff --git a/runtime/vm/instructions_x64.h b/runtime/vm/instructions_x64.h
index 0c0dc5397f48c6aa5a976de5c1870ff45ee22bec..4566b2256572551dd186dbfe9ace79946435868e 100644
--- a/runtime/vm/instructions_x64.h
+++ b/runtime/vm/instructions_x64.h
@@ -60,7 +60,7 @@ class JumpPattern : public InstructionPattern {
public:
JumpPattern(uword pc, const Code& code)
: InstructionPattern(pc),
- object_pool_(Array::Handle(code.ObjectPool())) {}
+ object_pool_(ObjectPool::Handle(code.GetObjectPool())) {}
static int InstructionLength() {
return kLengthInBytes;
}
@@ -73,7 +73,7 @@ class JumpPattern : public InstructionPattern {
static const int kLengthInBytes = 7;
private:
virtual const int* pattern() const;
- const Array& object_pool_;
+ const ObjectPool& object_pool_;
DISALLOW_COPY_AND_ASSIGN(JumpPattern);
};

Powered by Google App Engine
This is Rietveld 408576698