| Index: src/v8memory.h
|
| diff --git a/src/v8memory.h b/src/v8memory.h
|
| index f71de82072ec4b72700f5d3e9563e79da45e52ae..c72ce7ab7b88d258e4e589948d87d6a98752da29 100644
|
| --- a/src/v8memory.h
|
| +++ b/src/v8memory.h
|
| @@ -64,6 +64,14 @@ class Memory {
|
| return *reinterpret_cast<unsigned*>(addr);
|
| }
|
|
|
| + static intptr_t& intptr_at(Address addr) {
|
| + return *reinterpret_cast<intptr_t*>(addr);
|
| + }
|
| +
|
| + static uintptr_t& uintptr_at(Address addr) {
|
| + return *reinterpret_cast<uintptr_t*>(addr);
|
| + }
|
| +
|
| static double& double_at(Address addr) {
|
| return *reinterpret_cast<double*>(addr);
|
| }
|
|
|