Index: src/mips64/simulator-mips64.h |
diff --git a/src/mips64/simulator-mips64.h b/src/mips64/simulator-mips64.h |
index 75d4935b74d538f73c8b4661cc2a7a20ab636b91..e45cbd449e4f0c230ecc00d175439864011b5143 100644 |
--- a/src/mips64/simulator-mips64.h |
+++ b/src/mips64/simulator-mips64.h |
@@ -493,9 +493,10 @@ class Simulator { |
#ifdef MIPS_ABI_N64 |
#define CALL_GENERATED_REGEXP_CODE(entry, p0, p1, p2, p3, p4, p5, p6, p7, p8) \ |
- static_cast<int>( \ |
- Simulator::current(Isolate::Current()) \ |
- ->Call(entry, 10, p0, p1, p2, p3, p4, p5, p6, p7, NULL, p8)) |
+ static_cast<int>(Simulator::current(Isolate::Current()) \ |
+ ->Call(entry, 10, p0, p1, p2, p3, p4, \ |
+ reinterpret_cast<int64_t*>(p5), p6, p7, NULL, \ |
+ p8)) |
#else // Must be O32 Abi. |
#define CALL_GENERATED_REGEXP_CODE(entry, p0, p1, p2, p3, p4, p5, p6, p7, p8) \ |
static_cast<int>( \ |