Fix missing () on function call causing warning on some versions
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 6 Nov 2009 14:06:35 +0000 (14:06 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 6 Nov 2009 14:06:35 +0000 (14:06 +0000)
of gcc.
Review URL: http://codereview.chromium.org/371020

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3239 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/bootstrapper.cc

index e13277b..19e21d2 100644 (file)
@@ -100,7 +100,7 @@ static List<char*>* delete_these_non_arrays_on_tear_down = NULL;
 Handle<String> Bootstrapper::NativesSourceLookup(int index) {
   ASSERT(0 <= index && index < Natives::GetBuiltinsCount());
   if (Heap::natives_source_cache()->get(index)->IsUndefined()) {
-    if (!Snapshot::IsEnabled || FLAG_new_snapshot) {
+    if (!Snapshot::IsEnabled() || FLAG_new_snapshot) {
       if (delete_these_non_arrays_on_tear_down == NULL) {
         delete_these_non_arrays_on_tear_down = new List<char*>(2);
       }