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
This commit is contained in:
erik.corry@gmail.com 2009-11-06 14:06:35 +00:00
parent 6a3921fc0e
commit eec580cf5d

View 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);
}