Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: src/compiler/access-builder.cc

Issue 1406113007: Merge GlobalObject with JSGlobalObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/access-builder.cc
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc
index 0492b801b30f22dab8f8d4e920cc53f47ecb4733..090814756f172763fcb2a7138bb13b59e74e3120 100644
--- a/src/compiler/access-builder.cc
+++ b/src/compiler/access-builder.cc
@@ -139,16 +139,16 @@ FieldAccess AccessBuilder::ForStringLength() {
// static
-FieldAccess AccessBuilder::ForGlobalObjectGlobalProxy() {
- FieldAccess access = {kTaggedBase, GlobalObject::kGlobalProxyOffset,
+FieldAccess AccessBuilder::ForJSGlobalObjectGlobalProxy() {
+ FieldAccess access = {kTaggedBase, JSGlobalObject::kGlobalProxyOffset,
Handle<Name>(), Type::Receiver(), kMachAnyTagged};
return access;
}
// static
-FieldAccess AccessBuilder::ForGlobalObjectNativeContext() {
- FieldAccess access = {kTaggedBase, GlobalObject::kNativeContextOffset,
+FieldAccess AccessBuilder::ForJSGlobalObjectNativeContext() {
+ FieldAccess access = {kTaggedBase, JSGlobalObject::kNativeContextOffset,
Handle<Name>(), Type::Internal(), kMachAnyTagged};
return access;
}
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698