Commit a2c12046 authored by feng@chromium.org's avatar feng@chromium.org

fix lint errors

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@176 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent dcdf6ea3
......@@ -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;
......
......@@ -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);
......
......@@ -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());
}
......
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