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

Unified Diff: src/hydrogen.h

Issue 9838059: Rollback of r11118, r11109 in trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 9 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/arm/lithium-codegen-arm.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 82e3119c5d1050c7a98cf146ae05daaf1839a00a..e2779bb2260d10cfed8b0a048dd641b685e4cba6 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -42,7 +42,6 @@ namespace internal {
// Forward declarations.
class BitVector;
-class FunctionState;
class HEnvironment;
class HGraph;
class HLoopInformation;
@@ -122,7 +121,7 @@ class HBasicBlock: public ZoneObject {
void Finish(HControlInstruction* last);
void FinishExit(HControlInstruction* instruction);
- void Goto(HBasicBlock* block, FunctionState* state = NULL);
+ void Goto(HBasicBlock* block, bool drop_extra = false);
int PredecessorIndexOf(HBasicBlock* predecessor) const;
void AddSimulate(int ast_id) { AddInstruction(CreateSimulate(ast_id)); }
@@ -137,7 +136,7 @@ class HBasicBlock: public ZoneObject {
// instruction and updating the bailout environment.
void AddLeaveInlined(HValue* return_value,
HBasicBlock* target,
- FunctionState* state = NULL);
+ bool drop_extra = false);
// If a target block is tagged as an inline function return, all
// predecessors should contain the inlined exit sequence:
@@ -716,16 +715,6 @@ class FunctionState {
FunctionState* outer() { return outer_; }
- HInstruction* entry() { return entry_; }
- void set_entry(HInstruction* entry) { entry_ = entry; }
-
- HInstruction* arguments_elements() { return arguments_elements_; }
- void set_arguments_elements(HInstruction* arguments_elements) {
- arguments_elements_ = arguments_elements;
- }
-
- bool arguments_pushed() { return arguments_elements() != NULL; }
-
private:
HGraphBuilder* owner_;
@@ -752,12 +741,6 @@ class FunctionState {
// return blocks. NULL in all other cases.
TestContext* test_context_;
- // When inlining HEnterInlined instruction corresponding to the function
- // entry.
- HInstruction* entry_;
-
- HInstruction* arguments_elements_;
-
FunctionState* outer_;
};
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698