Index: src/arguments.h |
diff --git a/src/arguments.h b/src/arguments.h |
index e13ddc9ec83f0f69e1bdb53d00a18ca9b5522310..4eac1136ca30e5d86a9f57a6e3938c6247c812a3 100644 |
--- a/src/arguments.h |
+++ b/src/arguments.h |
@@ -52,7 +52,8 @@ class Arguments BASE_EMBEDDED { |
Object*& operator[] (int index) { |
ASSERT(0 <= index && index < length_); |
- return arguments_[-index]; |
+ return *(reinterpret_cast<Object**>(reinterpret_cast<intptr_t>(arguments_) - |
Jakob Kummerow
2013/06/10 14:43:38
The minus at the end of the line looks weird. I'd
|
+ index * kPointerSize)); |
} |
template <class S> Handle<S> at(int index) { |