Index: src/bootstrapper.cc |
=================================================================== |
--- src/bootstrapper.cc (revision 3238) |
+++ src/bootstrapper.cc (working copy) |
@@ -100,7 +100,7 @@ |
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); |
} |