| Index: src/factory.cc
|
| ===================================================================
|
| --- src/factory.cc (revision 1168)
|
| +++ src/factory.cc (working copy)
|
| @@ -327,7 +327,7 @@
|
|
|
| Handle<Object> Factory::NewError(const char* maker, const char* type,
|
| Vector< Handle<Object> > args) {
|
| - HandleScope scope;
|
| + v8::HandleScope scope; // Instantiate a closeable HandleScope for EscapeFrom.
|
| Handle<FixedArray> array = Factory::NewFixedArray(args.length());
|
| for (int i = 0; i < args.length(); i++) {
|
| array->set(i, *args[i]);
|
| @@ -822,7 +822,7 @@
|
| Handle<MapCache> new_cache = NewMapCache(24);
|
| context->set_map_cache(*new_cache);
|
| }
|
| - // Check to see whether there is a maching element in the cache.
|
| + // Check to see whether there is a matching element in the cache.
|
| Handle<MapCache> cache =
|
| Handle<MapCache>(MapCache::cast(context->map_cache()));
|
| Handle<Object> result = Handle<Object>(cache->Lookup(*keys));
|
|
|