Index: runtime/vm/code_patcher.h |
diff --git a/runtime/vm/code_patcher.h b/runtime/vm/code_patcher.h |
index 0a7410fbecd1746b912a85be0203b5cff74c1194..4ff3dfb9493866f82ad02697b8b1b9baca3f9f41 100644 |
--- a/runtime/vm/code_patcher.h |
+++ b/runtime/vm/code_patcher.h |
@@ -22,6 +22,17 @@ class RawICData; |
class RawObject; |
class String; |
+class WritableInstructionsScope : public ValueObject { |
+ public: |
+ WritableInstructionsScope(uword address, intptr_t size); |
+ ~WritableInstructionsScope(); |
+ |
+ private: |
+ uword address_; |
+ intptr_t size_; |
srdjan
2014/01/16 17:38:12
Both can be const. Please add a brief comment abou
Florian Schneider
2014/01/17 10:46:59
Done.
|
+}; |
+ |
+ |
class CodePatcher : public AllStatic { |
public: |
// Dart static calls have a distinct, machine-dependent code pattern. |