| Index: runtime/vm/instructions_mips.h
|
| diff --git a/runtime/vm/instructions_mips.h b/runtime/vm/instructions_mips.h
|
| index 4555c0efdaf62205830140fd045b386a49730faa..51875b5194e0facd1ebb2d4d885369274ad469ae 100644
|
| --- a/runtime/vm/instructions_mips.h
|
| +++ b/runtime/vm/instructions_mips.h
|
| @@ -11,6 +11,7 @@
|
| #endif
|
|
|
| #include "vm/constants_mips.h"
|
| +#include "vm/native_entry.h"
|
| #include "vm/object.h"
|
|
|
| namespace dart {
|
| @@ -75,6 +76,27 @@ class CallPattern : public ValueObject {
|
| };
|
|
|
|
|
| +class NativeCallPattern : public ValueObject {
|
| + public:
|
| + NativeCallPattern(uword pc, const Code& code);
|
| +
|
| + uword target() const;
|
| + void set_target(uword target_address) const;
|
| +
|
| + NativeFunction native_function() const;
|
| + void set_native_function(NativeFunction target) const;
|
| +
|
| + private:
|
| + const ObjectPool& object_pool_;
|
| +
|
| + uword end_;
|
| + intptr_t native_function_pool_index_;
|
| + intptr_t target_address_pool_index_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(NativeCallPattern);
|
| +};
|
| +
|
| +
|
| class JumpPattern : public ValueObject {
|
| public:
|
| JumpPattern(uword pc, const Code& code);
|
|
|