From a0355e3745efc4239bdeaf6259e7d57071a623cb Mon Sep 17 00:00:00 2001 From: "palfia@homejinni.com" Date: Wed, 9 Apr 2014 11:01:58 +0000 Subject: [PATCH] Fix build with gcc 4.8 on Linux. This fixes a build failure on Linux with gcc 4.8, after r20581. BUG= R=ishell@chromium.org Review URL: https://codereview.chromium.org/229683003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20608 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects.h b/src/objects.h index d4a1f70..a4d9a87 100644 --- a/src/objects.h +++ b/src/objects.h @@ -4018,7 +4018,7 @@ class Dictionary: public HashTable { } int NextEnumerationIndex() { - return Smi::cast(FixedArray::get(kNextEnumerationIndexIndex))->value(); + return Smi::cast(this->get(kNextEnumerationIndexIndex))->value(); } // Returns a new array for dictionary usage. Might return Failure. -- 2.7.4