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

Unified Diff: src/debug/debug-scopes.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/debug/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug-scopes.cc
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc
index b00b378b5b64836a1a82a981f2686d6b683d3ac0..ef87afbb15fc0dfe9d73d2501aed8b6c6f321d28 100644
--- a/src/debug/debug-scopes.cc
+++ b/src/debug/debug-scopes.cc
@@ -203,7 +203,7 @@ ScopeIterator::ScopeType ScopeIterator::Type() {
}
}
if (context_->IsNativeContext()) {
- DCHECK(context_->global_object()->IsGlobalObject());
+ DCHECK(context_->global_object()->IsJSGlobalObject());
// If we are at the native context and have not yet seen script scope,
// fake it.
return seen_script_scope_ ? ScopeTypeGlobal : ScopeTypeScript;
@@ -404,7 +404,7 @@ void ScopeIterator::RetrieveScopeChain(Scope* scope,
MaybeHandle<JSObject> ScopeIterator::MaterializeScriptScope() {
- Handle<GlobalObject> global(CurrentContext()->global_object());
+ Handle<JSGlobalObject> global(CurrentContext()->global_object());
Handle<ScriptContextTable> script_contexts(
global->native_context()->script_context_table());
« no previous file with comments | « src/debug/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698