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

Side by Side Diff: src/codegen-ia32.h

Issue 11000: Periodic merge of bleeding_edge to experimental code generator branch.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 12 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/codegen-arm.cc ('k') | src/codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // this state is destroyed. 146 // this state is destroyed.
147 CodeGenState* previous_; 147 CodeGenState* previous_;
148 }; 148 };
149 149
150 150
151 151
152 152
153 // ------------------------------------------------------------------------- 153 // -------------------------------------------------------------------------
154 // CodeGenerator 154 // CodeGenerator
155 155
156 class CodeGenerator: public Visitor { 156 class CodeGenerator: public AstVisitor {
157 public: 157 public:
158 // Takes a function literal, generates code for it. This function should only 158 // Takes a function literal, generates code for it. This function should only
159 // be called by compiler.cc. 159 // be called by compiler.cc.
160 static Handle<Code> MakeCode(FunctionLiteral* fun, 160 static Handle<Code> MakeCode(FunctionLiteral* fun,
161 Handle<Script> script, 161 Handle<Script> script,
162 bool is_eval); 162 bool is_eval);
163 163
164 static void SetFunctionInfo(Handle<JSFunction> fun, 164 static void SetFunctionInfo(Handle<JSFunction> fun,
165 int length, 165 int length,
166 int function_token_position, 166 int function_token_position,
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 friend class JumpTarget; 414 friend class JumpTarget;
415 friend class Reference; 415 friend class Reference;
416 416
417 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 417 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
418 }; 418 };
419 419
420 420
421 } } // namespace v8::internal 421 } } // namespace v8::internal
422 422
423 #endif // V8_CODEGEN_IA32_H_ 423 #endif // V8_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen-arm.cc ('k') | src/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698