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

Unified Diff: src/hydrogen.h

Issue 7237024: Refactor handling of test expressions in the graph builder. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: fixed bug in LBranch Created 9 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
Index: src/hydrogen.h
===================================================================
--- src/hydrogen.h (revision 8460)
+++ src/hydrogen.h (working copy)
@@ -579,7 +579,7 @@
private:
// Build the shared core part of the translation unpacking a value into
// control flow.
- void BuildBranch(HValue* value);
+ void BuildBranch(HValue* value, HControlInstruction* test);
Expression* condition_;
HBasicBlock* if_true_;
@@ -706,6 +706,8 @@
void Bailout(const char* reason);
+ void MaterializeBoolean(HControlInstruction* instr, int join_id);
+
private:
// Type of a member function that generates inline code for a native function.
typedef void (HGraphBuilder::*InlineFunctionGenerator)(CallRuntime* call);

Powered by Google App Engine
This is Rietveld 408576698