commit | 80d68eab642096c1a48b6474d6ec33064b0ad1f5 | [log] [tgz] |
---|---|---|
author | Kristian Monsen <kristianm@google.com> | Wed Sep 08 11:05:35 2010 +0100 |
committer | Kristian Monsen <kristianm@google.com> | Wed Sep 08 11:48:46 2010 +0100 |
tree | 6d3389d4fa4ca4a913970f75df6bbad6b1c858e9 | |
parent | 791712a13f1814dd3ab5d1a5ab8ff5dbc476f6d6 [diff] [blame] |
Update V8 to r5388 as required by WebKit r66666 Change-Id: Ib3c42e9b7226d22c65c7077c543fe31afe62a318
diff --git a/src/memory.h b/src/memory.h index 503492a..27f32f7 100644 --- a/src/memory.h +++ b/src/memory.h
@@ -36,6 +36,10 @@ class Memory { public: + static uint8_t& uint8_at(Address addr) { + return *reinterpret_cast<uint8_t*>(addr); + } + static uint16_t& uint16_at(Address addr) { return *reinterpret_cast<uint16_t*>(addr); }