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:
parent
dcdf6ea394
commit
a2c12046ca
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user