fix lint errors

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@176 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
feng@chromium.org 2008-09-05 16:58:18 +00:00
parent dcdf6ea394
commit a2c12046ca
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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());
}