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

Side by Side Diff: src/codegen-arm.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.h ('k') | src/codegen-arm.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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 TypeofState typeof_state_; 129 TypeofState typeof_state_;
130 JumpTarget* true_target_; 130 JumpTarget* true_target_;
131 JumpTarget* false_target_; 131 JumpTarget* false_target_;
132 CodeGenState* previous_; 132 CodeGenState* previous_;
133 }; 133 };
134 134
135 135
136 // ------------------------------------------------------------------------- 136 // -------------------------------------------------------------------------
137 // CodeGenerator 137 // CodeGenerator
138 138
139 class CodeGenerator: public Visitor { 139 class CodeGenerator: public AstVisitor {
140 public: 140 public:
141 // Takes a function literal, generates code for it. This function should only 141 // Takes a function literal, generates code for it. This function should only
142 // be called by compiler.cc. 142 // be called by compiler.cc.
143 static Handle<Code> MakeCode(FunctionLiteral* fun, 143 static Handle<Code> MakeCode(FunctionLiteral* fun,
144 Handle<Script> script, 144 Handle<Script> script,
145 bool is_eval); 145 bool is_eval);
146 146
147 static void SetFunctionInfo(Handle<JSFunction> fun, 147 static void SetFunctionInfo(Handle<JSFunction> fun,
148 int length, 148 int length,
149 int function_token_position, 149 int function_token_position,
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 friend class VirtualFrame; 370 friend class VirtualFrame;
371 friend class JumpTarget; 371 friend class JumpTarget;
372 friend class Reference; 372 friend class Reference;
373 373
374 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 374 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
375 }; 375 };
376 376
377 } } // namespace v8::internal 377 } } // namespace v8::internal
378 378
379 #endif // V8_CODEGEN_ARM_H_ 379 #endif // V8_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/codegen.h ('k') | src/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698