Reviewers: danno, Igor Sheludko, Yang, Paul Lind, kisg, kilvadyb, dusmil,
Message:
The commit r20581 breaks the build on Linux with gcc 4.8. This patch solves
the
build failure (and the tests are OK), but I'm not confident that it is a
correct
patch.
PTAL.
Description:
Fix build with gcc 4.8 on Linux.
This fixes a build failure on Linux with gcc 4.8, after r20581.
BUG=
Please review this at https://codereview.chromium.org/229683003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/objects.h
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index
d4a1f702b96910bf3580f076ce5519b65b512c46..a4d9a871fc9aa2f446d85c95038de9865f49a8fe
100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4018,7 +4018,7 @@ class Dictionary: public HashTable<Shape, Key> {
}
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.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.