| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 89be743014dfa44bc730842ad15b3f8b91049e3c..a0157aae742c4a73ff4b7c4608be526d45e4d00d 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -3753,13 +3753,6 @@ class Instructions : public Object {
|
| public:
|
| intptr_t size() const { return raw_ptr()->size_; } // Excludes HeaderSize().
|
|
|
| - RawCode* code() const {
|
| - // This should only be accessed when jitting.
|
| - // TODO(johnmccutchan): Remove code back pointer.
|
| - ASSERT(!Dart::IsRunningPrecompiledCode());
|
| - return raw_ptr()->code_;
|
| - }
|
| -
|
| uword EntryPoint() const {
|
| return reinterpret_cast<uword>(raw_ptr()) + HeaderSize();
|
| }
|
| @@ -3798,10 +3791,6 @@ class Instructions : public Object {
|
| StoreNonPointer(&raw_ptr()->size_, size);
|
| }
|
|
|
| - void set_code(RawCode* code) const {
|
| - StorePointer(&raw_ptr()->code_, code);
|
| - }
|
| -
|
| // New is a private method as RawInstruction and RawCode objects should
|
| // only be created using the Code::FinalizeCode method. This method creates
|
| // the RawInstruction and RawCode objects, sets up the pointer offsets
|
| @@ -4434,22 +4423,6 @@ class Code : public Object {
|
| class AliveBit : public BitField<bool, kAliveBit, 1> {};
|
| class PtrOffBits : public BitField<intptr_t, kPtrOffBit, kPtrOffSize> {};
|
|
|
| - // An object finder visitor interface.
|
| - class FindRawCodeVisitor : public FindObjectVisitor {
|
| - public:
|
| - explicit FindRawCodeVisitor(uword pc)
|
| - : FindObjectVisitor(Isolate::Current()), pc_(pc) { }
|
| - virtual ~FindRawCodeVisitor() { }
|
| -
|
| - // Check if object matches find condition.
|
| - virtual bool FindObject(RawObject* obj) const;
|
| -
|
| - private:
|
| - const uword pc_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(FindRawCodeVisitor);
|
| - };
|
| -
|
| class SlowFindRawCodeVisitor : public FindObjectVisitor {
|
| public:
|
| explicit SlowFindRawCodeVisitor(uword pc)
|
|
|