Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 10abba731bb12c7b9adf2b40e216bb68d8f99c70..2dbd91521ddccf7678f0fdb1499870c0f196a0f1 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -160,7 +160,7 @@ class Factory { |
const ExternalTwoByteString::Resource* resource); |
// Create a global (but otherwise uninitialized) context. |
- Handle<Context> NewGlobalContext(); |
+ Handle<Context> NewNativeContext(); |
// Create a module context. |
Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info); |
@@ -331,7 +331,7 @@ class Factory { |
Handle<Object> ToObject(Handle<Object> object); |
Handle<Object> ToObject(Handle<Object> object, |
- Handle<Context> global_context); |
+ Handle<Context> native_context); |
// Interface for creating error objects. |
@@ -457,7 +457,7 @@ class Factory { |
Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); |
#endif |
- // Return a map using the map cache in the global context. |
+ // Return a map using the map cache in the native context. |
// The key the an ordered set of property names. |
Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, |
Handle<FixedArray> keys); |
@@ -499,7 +499,7 @@ class Factory { |
// Create a new map cache. |
Handle<MapCache> NewMapCache(int at_least_space_for); |
- // Update the map cache in the global context with (keys, map) |
+ // Update the map cache in the native context with (keys, map) |
Handle<MapCache> AddToMapCache(Handle<Context> context, |
Handle<FixedArray> keys, |
Handle<Map> map); |