| Index: runtime/vm/code_patcher.h
|
| diff --git a/runtime/vm/code_patcher.h b/runtime/vm/code_patcher.h
|
| index c0f4799dba1675cc22909939ca693e2667e97f98..4fcc1a46327e9f7bc94c7a8d797b1b5929c0b805 100644
|
| --- a/runtime/vm/code_patcher.h
|
| +++ b/runtime/vm/code_patcher.h
|
| @@ -42,6 +42,9 @@ class CodePatcher : public AllStatic {
|
| // Restore entry point with original code (i.e., before patching).
|
| static void RestoreEntry(const Code& code);
|
|
|
| + // Has the entry been patched?
|
| + static bool IsEntryPatched(const Code& code);
|
| +
|
| // Returns true if the code can be patched with a jump at beginning (checks
|
| // that there are no conflicts with object pointers). Used in ASSERTs.
|
| static bool CodeIsPatchable(const Code& code);
|
|
|