commit | b0fe1620dcb4135ac3ab2d66ff93072373911299 | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Thu May 05 13:52:32 2011 +0100 |
committer | Ben Murdoch <benm@google.com> | Tue May 10 15:41:47 2011 +0100 |
tree | 3487cdc7e01ec56a6f84ea20f4bae596a0b73986 | |
parent | df5bff59602802b769e994b0dc1d8869a27fa40c [diff] [blame] |
Update V8 to r6101 as required by WebKit r74534 Change-Id: I7f84af8dd732f11898fd644b2c2b1538914cb78d
diff --git a/src/memory.h b/src/memory.h index 27f32f7..901e78d 100644 --- a/src/memory.h +++ b/src/memory.h
@@ -60,6 +60,10 @@ return *reinterpret_cast<int*>(addr); } + static double& double_at(Address addr) { + return *reinterpret_cast<double*>(addr); + } + static Address& Address_at(Address addr) { return *reinterpret_cast<Address*>(addr); }