Index: runtime/vm/constants_dbc.h |
diff --git a/runtime/vm/constants_dbc.h b/runtime/vm/constants_dbc.h |
index 7234022cc3de717e665afdbcf8eeb0ffa87061e8..54fc66b477a12e22d9d5374a3e8e6cc86af12df1 100644 |
--- a/runtime/vm/constants_dbc.h |
+++ b/runtime/vm/constants_dbc.h |
@@ -468,6 +468,12 @@ BYTECODES_LIST(DECLARE_BYTECODE) |
#endif |
return (call >> 8) & 0xFF; |
} |
+ |
+ static Instr At(uword pc) { return *reinterpret_cast<Instr*>(pc); } |
+ |
+ private: |
+ DISALLOW_ALLOCATION(); |
+ DISALLOW_IMPLICIT_CONSTRUCTORS(Bytecode); |
}; |
// Various dummy declarations to make shared code compile. |