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

Unified Diff: src/x64/codegen-x64.h

Issue 123014: Add x64 implementation test support for assembler and code generator. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/codegen-x64.h
===================================================================
--- src/x64/codegen-x64.h (revision 2140)
+++ src/x64/codegen-x64.h (working copy)
@@ -286,6 +286,15 @@
Handle<Script> script,
bool is_eval);
+ // During implementation of CodeGenerator, this call creates a
+ // CodeGenerator instance, and calls GenCode on it with a null
+ // function literal. CodeGenerator will then construct and return
+ // a simple dummy function. Call this during bootstrapping before
+ // trying to compile any real functions, to get CodeGenerator up
+ // and running.
+ // TODO(X64): Remove once we can get through the bootstrapping process.
+ static void TestCodeGenerator();
+
#ifdef ENABLE_LOGGING_AND_PROFILING
static bool ShouldGenerateLog(Expression* type);
#endif
« no previous file with comments | « src/bootstrapper.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698