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

Side by Side Diff: src/codegen.h

Issue 5663: Small cleanup of the code generator: make the static code gen... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ast.h ('k') | src/codegen-arm.cc » ('j') | src/codegen-arm.cc » ('J')
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 int length, 116 int length,
117 int function_token_position, 117 int function_token_position,
118 int start_position, 118 int start_position,
119 int end_position, 119 int end_position,
120 bool is_expression, 120 bool is_expression,
121 bool is_toplevel, 121 bool is_toplevel,
122 Handle<Script> script); 122 Handle<Script> script);
123 123
124 virtual MacroAssembler* masm() = 0; 124 virtual MacroAssembler* masm() = 0;
125 125
126 virtual Scope* scope() const = 0;
126 127
127 void AddDeferred(DeferredCode* code) { deferred_.Add(code); } 128 void AddDeferred(DeferredCode* code) { deferred_.Add(code); }
128 void ProcessDeferred(); 129 void ProcessDeferred();
129 130
130 // Accessors for is_eval. 131 // Accessors for is_eval.
131 bool is_eval() { return is_eval_; } 132 bool is_eval() { return is_eval_; }
132 133
133 // Abstract node visitors. 134 // Abstract node visitors.
134 #define DEF_VISIT(type) \ 135 #define DEF_VISIT(type) \
135 virtual void Visit##type(type* node) = 0; 136 virtual void Visit##type(type* node) = 0;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 int MinorKey() { return 1; } 302 int MinorKey() { return 1; }
302 303
303 const char* GetName() { return "JSConstructEntryStub"; } 304 const char* GetName() { return "JSConstructEntryStub"; }
304 }; 305 };
305 306
306 307
307 } // namespace internal 308 } // namespace internal
308 } // namespace v8 309 } // namespace v8
309 310
310 #endif // V8_CODEGEN_H_ 311 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/codegen-arm.cc » ('j') | src/codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698