Index: src/v8memory.h |
diff --git a/src/v8memory.h b/src/v8memory.h |
index c72ce7ab7b88d258e4e589948d87d6a98752da29..02a81a692d1f102cabd97c28405d94d178d8b064 100644 |
--- a/src/v8memory.h |
+++ b/src/v8memory.h |
@@ -76,6 +76,14 @@ class Memory { |
return *reinterpret_cast<double*>(addr); |
} |
+ static float32x4_value_t& float32x4_at(Address addr) { |
+ return *reinterpret_cast<float32x4_value_t*>(addr); |
+ } |
+ |
+ static int32x4_value_t& int32x4_at(Address addr) { |
+ return *reinterpret_cast<int32x4_value_t*>(addr); |
+ } |
+ |
static Address& Address_at(Address addr) { |
return *reinterpret_cast<Address*>(addr); |
} |