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

Unified Diff: src/hydrogen.h

Issue 12317044: Fix bugs in generating and printing of Crankshaft stubs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Final version Created 7 years, 10 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 | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
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 0a2338a211d798eefca8ea161e52510a4a68efa6..c9bfe7e42c9e6fcafed07ad934761a3872a36731 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -460,7 +460,7 @@ class HEnvironment: public ZoneObject {
Handle<JSFunction> closure,
Zone* zone);
- explicit HEnvironment(Zone* zone);
+ HEnvironment(Zone* zone, int parameter_count);
HEnvironment* arguments_environment() {
return outer()->frame_type() == ARGUMENTS_ADAPTOR ? outer() : this;
@@ -928,15 +928,20 @@ class HGraphBuilder {
if (!finished_) End();
}
- void BeginTrue(HValue* left, HValue* right, Token::Value token);
+ HInstruction* BeginTrue(
+ HValue* left,
+ HValue* right,
+ Token::Value token,
+ Representation input_representation = Representation::Integer32());
void BeginFalse();
void End();
private:
HGraphBuilder* builder_;
bool finished_;
- HBasicBlock* true_block_;
- HBasicBlock* false_block_;
+ HBasicBlock* first_true_block_;
+ HBasicBlock* last_true_block_;
+ HBasicBlock* first_false_block_;
HBasicBlock* merge_block_;
BailoutId id_;
@@ -960,7 +965,11 @@ class HGraphBuilder {
ASSERT(finished_);
}
- HValue* BeginBody(HValue* initial, HValue* terminating, Token::Value token);
+ HValue* BeginBody(
+ HValue* initial,
+ HValue* terminating,
+ Token::Value token,
+ Representation input_representation = Representation::Integer32());
void EndBody();
private:
« no previous file with comments | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698