From a2c12046ca9b4d137a2966b0ee9002290430bc3d Mon Sep 17 00:00:00 2001 From: "feng@chromium.org" Date: Fri, 5 Sep 2008 16:58:18 +0000 Subject: [PATCH] fix lint errors git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@176 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/heap.cc | 2 +- src/heap.h | 2 +- src/objects-inl.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/heap.cc b/src/heap.cc index 283c59c..9c47fb0 100644 --- a/src/heap.cc +++ b/src/heap.cc @@ -2297,7 +2297,7 @@ Object* Heap::PutInEvalCache(bool is_global_context, String* src, if (obj->IsFailure()) return false; *cache_ptr = obj; } - + Object* new_cache = EvalCache::cast(*cache_ptr)->Put(src, value); if (new_cache->IsFailure()) return new_cache; diff --git a/src/heap.h b/src/heap.h index a3962bb..05a5d4a 100644 --- a/src/heap.h +++ b/src/heap.h @@ -549,7 +549,7 @@ class Heap : public AllStatic { // in the eval cache. The cache may expand, and returns failure // if it cannot expand the cache, otherwise the value is returned. // The first parameter specifies whether the boilerplate is - // compiled in a global context. + // compiled in a global context. static Object* PutInEvalCache(bool is_global_context, String* src, JSFunction* value); diff --git a/src/objects-inl.h b/src/objects-inl.h index e9af815..5b747cd 100644 --- a/src/objects-inl.h +++ b/src/objects-inl.h @@ -316,7 +316,7 @@ bool Object::IsSymbolTable() { bool Object::IsEvalCache() { return IsHashTable() && - (this == Heap::eval_cache_global() || + (this == Heap::eval_cache_global() || this == Heap::eval_cache_non_global()); } -- 2.7.4