Version 3.3.9.
Added DateTimeFormat class to experimental i18n API.
Extended preparser to give early errors for some strict mode restrictions.
Removed legacy execScript function from V8.
Extended isolate API with the ability to add embedder-specific data to an isolate.
Added basic support for polymorphic loads from JS and external arrays.
Fixed bug in handling of switch statements in the optimizing compiler.
git-svn-id: http://v8.googlecode.com/svn/trunk@7972 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/preparse-data.cc b/src/preparse-data.cc
index e65734b..98c343e 100644
--- a/src/preparse-data.cc
+++ b/src/preparse-data.cc
@@ -74,7 +74,7 @@
function_store_.Add((arg_opt == NULL) ? 0 : 1);
STATIC_ASSERT(PreparseDataConstants::kMessageTextPos == 3);
WriteString(CStrVector(message));
- if (arg_opt) WriteString(CStrVector(arg_opt));
+ if (arg_opt != NULL) WriteString(CStrVector(arg_opt));
is_recording_ = false;
}