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

Unified Diff: src/builtins.h

Issue 3079: Remove the old builtins framework with the huge, nasty (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 3 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/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.h
===================================================================
--- src/builtins.h (revision 312)
+++ src/builtins.h (working copy)
@@ -32,17 +32,17 @@
// Define list of builtins implemented in C.
#define BUILTIN_LIST_C(V) \
- V(Illegal, 0) \
+ V(Illegal) \
\
- V(EmptyFunction, 0) \
+ V(EmptyFunction) \
\
- V(ArrayCode, 0) \
+ V(ArrayCode) \
\
- V(ArrayPush, -1) \
- V(ArrayPop, -1) \
+ V(ArrayPush) \
+ V(ArrayPop) \
\
- V(HandleApiCall, 0) \
- V(HandleApiCallAsFunction, 0)
+ V(HandleApiCall) \
+ V(HandleApiCallAsFunction)
// Define list of builtins implemented in assembly.
@@ -141,7 +141,7 @@
static const char* Lookup(byte* pc);
enum Name {
-#define DEF_ENUM_C(name, ignore) name,
+#define DEF_ENUM_C(name) name,
#define DEF_ENUM_A(name, kind, state) name,
BUILTIN_LIST_C(DEF_ENUM_C)
BUILTIN_LIST_A(DEF_ENUM_A)
@@ -151,7 +151,7 @@
};
enum CFunctionId {
-#define DEF_ENUM_C(name, ignore) c_##name,
+#define DEF_ENUM_C(name) c_##name,
BUILTIN_LIST_C(DEF_ENUM_C)
#undef DEF_ENUM_C
cfunction_count
@@ -200,7 +200,6 @@
// function f, we use an Object* array here.
static Object* builtins_[builtin_count];
static const char* names_[builtin_count];
-
static const char* javascript_names_[id_count];
static int javascript_argc_[id_count];
@@ -210,9 +209,7 @@
static int construct_call_pc_offset_;
static int arguments_adaptor_call_pc_offset_;
- static void Generate_Adaptor(MacroAssembler* masm,
- int argc,
- CFunctionId id);
+ static void Generate_Adaptor(MacroAssembler* masm, CFunctionId id);
static void Generate_JSConstructCall(MacroAssembler* masm);
static void Generate_JSEntryTrampoline(MacroAssembler* masm);
static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm);
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698