From eec580cf5d38be39a3e64cc228d8552298509694 Mon Sep 17 00:00:00 2001 From: "erik.corry@gmail.com" Date: Fri, 6 Nov 2009 14:06:35 +0000 Subject: [PATCH] Fix missing () on function call causing warning on some versions 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc index e13277bc07..19e21d25eb 100644 --- a/src/bootstrapper.cc +++ b/src/bootstrapper.cc @@ -100,7 +100,7 @@ static List* delete_these_non_arrays_on_tear_down = NULL; Handle 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(2); }