Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index 35f7be5416019770a72505bbc3acf1aa071d422b..bf711bac71e0b95c74db65bc42b524e6db383e9c 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -1,4 +1,4 @@ |
-// Copyright 2011 the V8 project authors. All rights reserved. |
+// Copyright 2012 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -427,7 +427,7 @@ void StringStream::PrintMentionedObjectCache() { |
PrintUsingMap(JSObject::cast(printee)); |
if (printee->IsJSArray()) { |
JSArray* array = JSArray::cast(printee); |
- if (array->HasFastElements()) { |
+ if (array->HasFastObjectElements()) { |
unsigned int limit = FixedArray::cast(array->elements())->length(); |
unsigned int length = |
static_cast<uint32_t>(JSArray::cast(array)->length()->Number()); |