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

Unified Diff: src/hydrogen.cc

Issue 10640012: Add a second kind of HandleScope that ties the lifetime of Handles created in its scope to the life… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review. Created 8 years, 6 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
« src/handles.cc ('K') | « src/handles.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index e91965ebbe8af126f2991046b04fa80a292594db..136d0556f09f7cb2fb2b00f3ae3d56fd395a4ac6 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -3053,6 +3053,7 @@ HGraph* HGraphBuilder::CreateGraph() {
{
HPhase phase("H_Block building");
+ GatheringHandleScope handle_scope(info());
current_block_ = graph()->entry_block();
Scope* scope = info()->scope();
« src/handles.cc ('K') | « src/handles.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698