Index: runtime/vm/dart_entry.h |
diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h |
index f88a416f93134a4d6b1d4b0df6e87cabb7479934..12c0d4f4f3057d92974167bc82a1e5a4b9f2a1c8 100644 |
--- a/runtime/vm/dart_entry.h |
+++ b/runtime/vm/dart_entry.h |
@@ -100,10 +100,18 @@ class ArgumentsDescriptor : public ValueObject { |
class DartEntry : public AllStatic { |
public: |
// On success, returns a RawInstance. On failure, a RawError. |
+#if defined(TARGET_ARCH_X64) |
+ typedef RawObject* (*invokestub)(const Code& stub_code, |
+ const Code& target_code, |
+ const Array& arguments_descriptor, |
+ const Array& arguments, |
+ Thread* thread); |
+#else |
typedef RawObject* (*invokestub)(uword entry_point, |
const Array& arguments_descriptor, |
const Array& arguments, |
Thread* thread); |
+#endif |
// Invokes the specified instance function or static function. |
// The first argument of an instance function is the receiver. |