Skip to content

Commit eec580c

Browse files
author
erik.corry@gmail.com
committed
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
1 parent 6a3921f commit eec580c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bootstrapper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ static List<char*>* delete_these_non_arrays_on_tear_down = NULL;
100100
Handle<String> Bootstrapper::NativesSourceLookup(int index) {
101101
ASSERT(0 <= index && index < Natives::GetBuiltinsCount());
102102
if (Heap::natives_source_cache()->get(index)->IsUndefined()) {
103-
if (!Snapshot::IsEnabled || FLAG_new_snapshot) {
103+
if (!Snapshot::IsEnabled() || FLAG_new_snapshot) {
104104
if (delete_these_non_arrays_on_tear_down == NULL) {
105105
delete_these_non_arrays_on_tear_down = new List<char*>(2);
106106
}

0 commit comments

Comments
 (0)