Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 02ca2c74c105b2a70ce87f7a809d42ef22fcc53f..e683bf21c735f0f82923099c634e6da499ad9b26 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -1119,7 +1119,7 @@ Handle<String> Literal::ToString() { |
if (value_->IsString()) return value_->AsString()->string(); |
DCHECK(value_->IsNumber()); |
char arr[100]; |
- Vector<char> buffer(arr, ARRAY_SIZE(arr)); |
+ Vector<char> buffer(arr, arraysize(arr)); |
const char* str; |
if (value()->IsSmi()) { |
// Optimization only, the heap number case would subsume this. |