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

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

Issue 16573: Fixed build with no ENABLE_LOGGING_AND_PROFILING (Closed)
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 unified diff | Download patch
« no previous file with comments | « src/codegen.cc ('k') | src/codegen-arm.cc » ('j') | src/log.h » ('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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // CodeGenerator 188 // CodeGenerator
189 189
190 class CodeGenerator: public AstVisitor { 190 class CodeGenerator: public AstVisitor {
191 public: 191 public:
192 // Takes a function literal, generates code for it. This function should only 192 // Takes a function literal, generates code for it. This function should only
193 // be called by compiler.cc. 193 // be called by compiler.cc.
194 static Handle<Code> MakeCode(FunctionLiteral* fun, 194 static Handle<Code> MakeCode(FunctionLiteral* fun,
195 Handle<Script> script, 195 Handle<Script> script,
196 bool is_eval); 196 bool is_eval);
197 197
198 #ifdef ENABLE_LOGGING_AND_PROFILING
198 static bool ShouldGenerateLog(Expression* type); 199 static bool ShouldGenerateLog(Expression* type);
200 #endif
199 201
200 static void SetFunctionInfo(Handle<JSFunction> fun, 202 static void SetFunctionInfo(Handle<JSFunction> fun,
201 int length, 203 int length,
202 int function_token_position, 204 int function_token_position,
203 int start_position, 205 int start_position,
204 int end_position, 206 int end_position,
205 bool is_expression, 207 bool is_expression,
206 bool is_toplevel, 208 bool is_toplevel,
207 Handle<Script> script); 209 Handle<Script> script);
208 210
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 408
407 friend class VirtualFrame; 409 friend class VirtualFrame;
408 friend class Reference; 410 friend class Reference;
409 411
410 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 412 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
411 }; 413 };
412 414
413 } } // namespace v8::internal 415 } } // namespace v8::internal
414 416
415 #endif // V8_CODEGEN_ARM_H_ 417 #endif // V8_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/codegen-arm.cc » ('j') | src/log.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698