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

Unified Diff: src/codegen-ia32.h

Issue 18144: Experimental: remove the cc_reg_ state from the code generator. There... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 11 years, 11 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/codegen-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codegen-ia32.h
===================================================================
--- src/codegen-ia32.h (revision 1094)
+++ src/codegen-ia32.h (working copy)
@@ -221,7 +221,6 @@
bool is_eval() { return is_eval_; }
// State
- bool has_cc() const { return cc_reg_ >= 0; }
TypeofState typeof_state() const { return state_->typeof_state(); }
JumpTarget* true_target() const { return state_->true_target(); }
JumpTarget* false_target() const { return state_->false_target(); }
@@ -295,7 +294,7 @@
TypeofState typeof_state,
JumpTarget* true_target,
JumpTarget* false_target,
- bool force_cc);
+ bool force_control);
void Load(Expression* x, TypeofState typeof_state = NOT_INSIDE_TYPEOF);
void LoadGlobal();
void LoadGlobalReceiver();
@@ -351,7 +350,10 @@
StaticType* type,
const OverwriteMode overwrite_mode = NO_OVERWRITE);
- void Comparison(Condition cc, bool strict = false);
+ void Comparison(Condition cc,
+ bool strict,
+ JumpTarget* true_target,
+ JumpTarget* false_target);
// Inline small integer literals. To prevent long attacker-controlled byte
// sequences, we only inline small Smis.
@@ -366,8 +368,6 @@
void CallWithArguments(ZoneList<Expression*>* arguments, int position);
- // Control flow
- void Branch(bool if_true, JumpTarget* target);
void CheckStack();
void CleanStack(int num_bytes);
@@ -483,7 +483,6 @@
Scope* scope_;
VirtualFrame* frame_;
RegisterAllocator* allocator_;
- Condition cc_reg_;
CodeGenState* state_;
int break_stack_height_;
int loop_nesting_;
« no previous file with comments | « no previous file | src/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698