Commit eec580cf authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

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
parent 6a3921fc
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment