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

Unified Diff: runtime/vm/scopes.h

Issue 2903993002: Remember deopt-id -> context-level mappings in var descriptors. (Closed)
Patch Set: update descriptor tests Created 3 years, 7 months 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 | « runtime/vm/parser_test.cc ('k') | runtime/vm/scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scopes.h
diff --git a/runtime/vm/scopes.h b/runtime/vm/scopes.h
index 688050a7bc1533c92607a0f5e7938be8907958fe..906603807e636e92f6f036a2b2e20976a298aa27 100644
--- a/runtime/vm/scopes.h
+++ b/runtime/vm/scopes.h
@@ -320,7 +320,9 @@ class LocalScope : public ZoneAllocated {
// Creates variable info for the scope and all its nested scopes.
// Must be called after AllocateVariables() has been called.
- RawLocalVarDescriptors* GetVarDescriptors(const Function& func);
+ RawLocalVarDescriptors* GetVarDescriptors(
+ const Function& func,
+ ZoneGrowableArray<intptr_t>* context_level_array);
// Create a ContextScope object describing all captured variables referenced
// from this scope and belonging to outer scopes.
« no previous file with comments | « runtime/vm/parser_test.cc ('k') | runtime/vm/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698