diff options
| author | Andrei Popescu <andreip@google.com> | 2010-02-26 13:31:12 +0000 |
|---|---|---|
| committer | Andrei Popescu <andreip@google.com> | 2010-02-26 13:31:12 +0000 |
| commit | 402d937239b0e2fd11bf2f4fe972ad78aa9fd481 (patch) | |
| tree | b9d769439a27fa48d7171e1a669e98f519591b94 /src/scopeinfo.cc | |
| parent | 2007755a32dfa1ac843f501dec4fb872f8bbcc52 (diff) | |
| download | android_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.tar.gz android_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.tar.bz2 android_external_v8-402d937239b0e2fd11bf2f4fe972ad78aa9fd481.zip | |
update V8 to TOT snapshot branch
Diffstat (limited to 'src/scopeinfo.cc')
| -rw-r--r-- | src/scopeinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc index 8b989d7a..de1841b0 100644 --- a/src/scopeinfo.cc +++ b/src/scopeinfo.cc @@ -536,7 +536,7 @@ int ContextSlotCache::Hash(Code* code, String* name) { // Uses only lower 32 bits if pointers are larger. uintptr_t addr_hash = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(code)) >> 2; - return (addr_hash ^ name->Hash()) % kLength; + return static_cast<int>((addr_hash ^ name->Hash()) % kLength); } |
