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

Unified Diff: src/hydrogen.h

Issue 25039003: Only call into the HOsrBuilder if required for OSR. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index be23fa84c34fcf54dc58a33cb9f9613410232109..56865aeaa1e851bde088ee386764b5b828d9006b 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1781,6 +1781,8 @@ class HOptimizedGraphBuilder V8_FINAL
HValue* context() { return environment()->context(); }
+ HOsrBuilder* osr() { return osr_; }
Michael Starzinger 2013/09/27 13:26:22 nit: Can be made const.
mvstanton 2013/09/27 13:31:43 Done.
+
void Bailout(BailoutReason reason);
HBasicBlock* CreateJoin(HBasicBlock* first,
@@ -1791,6 +1793,12 @@ class HOptimizedGraphBuilder V8_FINAL
void VisitDeclarations(ZoneList<Declaration*>* declarations);
+ // Build a loop entry
+ HBasicBlock* BuildLoopEntry();
Michael Starzinger 2013/09/27 13:26:22 nit: Let's move these two declarations near Create
mvstanton 2013/09/27 13:31:43 Done.
+
+ // Builds a loop entry respectful of OSR requirements
+ HBasicBlock* BuildLoopEntry(IterationStatement* statement);
+
void* operator new(size_t size, Zone* zone) {
return zone->New(static_cast<int>(size));
}
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698