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

Unified Diff: src/ia32/fast-codegen-ia32.h

Issue 651031: Begin using a list of bailouts instead of a singleton in the fast code generator. (Closed)
Patch Set: Created 10 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
Index: src/ia32/fast-codegen-ia32.h
diff --git a/src/ia32/fast-codegen-ia32.h b/src/ia32/fast-codegen-ia32.h
index a070c51fd13868470df91c85ee0d30c9e46b61e8..e7f69cfd512522fc676d9558631b9c2040b64560 100644
--- a/src/ia32/fast-codegen-ia32.h
+++ b/src/ia32/fast-codegen-ia32.h
@@ -32,6 +32,7 @@
#include "ast.h"
#include "compiler.h"
+#include "list.h"
fschneider 2010/02/19 14:47:14 list.h should be already included from compiler.h,
namespace v8 {
namespace internal {
@@ -66,7 +67,10 @@ class FastCodeGenSyntaxChecker: public AstVisitor {
class FastCodeGenerator: public AstVisitor {
public:
explicit FastCodeGenerator(MacroAssembler* masm)
- : masm_(masm), info_(NULL), destination_(no_reg), smi_bits_(0) {
+ : masm_(masm),
+ info_(NULL),
+ destination_(no_reg),
+ smi_bits_(0) {
}
static Handle<Code> MakeCode(CompilationInfo* info);
@@ -76,7 +80,6 @@ class FastCodeGenerator: public AstVisitor {
private:
MacroAssembler* masm() { return masm_; }
CompilationInfo* info() { return info_; }
- Label* bailout() { return &bailout_; }
Register destination() { return destination_; }
void set_destination(Register reg) { destination_ = reg; }
@@ -142,7 +145,7 @@ class FastCodeGenerator: public AstVisitor {
MacroAssembler* masm_;
CompilationInfo* info_;
- Label bailout_;
+
Register destination_;
uint32_t smi_bits_;
« src/compiler.h ('K') | « src/ia32/codegen-ia32.cc ('k') | src/ia32/fast-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698