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

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: 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/compiler.h ('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 a25c6db055cc9a75a353b2c9698a42fb0775f556..aa0457066008b16bb948c03133544db62f86c2c6 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/compiler.h ('K') | « src/handles.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698