Fix presubmit failure in r11376.
R=jkummerow@chromium.org TEST=cctest/test-api/StaticGetters[AfterDeath] Review URL: https://chromiumcodereview.appspot.com/10021057 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11379 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
70918cb8a9
commit
841158fb6a
@ -3975,7 +3975,7 @@ class Internals {
|
||||
|
||||
static inline internal::Object** GetRoot(v8::Isolate* isolate, int index) {
|
||||
uint8_t* addr = reinterpret_cast<uint8_t*>(isolate) + kIsolateRootsOffset;
|
||||
return &reinterpret_cast<internal::Object**>(addr)[index];
|
||||
return reinterpret_cast<internal::Object**>(addr + index * kApiPointerSize);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user