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

Unified Diff: src/runtime.cc

Issue 12095035: %X => %_X, %_X => %__X (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parser.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index e8003b6731cc77740ed36596a90a59fcfe957027..8c9979bcdb5e07c751b12ebabc3aec73a8fe47cc 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -13270,10 +13270,10 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ListNatives) {
/* Inline runtime functions have an underscore in front of the name. */ \
if (inline_runtime_functions) { \
name = factory->NewStringFromAscii( \
- Vector<const char>("_" #Name, StrLength("_" #Name))); \
+ Vector<const char>("__" #Name, StrLength("__" #Name))); \
} else { \
name = factory->NewStringFromAscii( \
- Vector<const char>(#Name, StrLength(#Name))); \
+ Vector<const char>("_" #Name, StrLength("_" #Name))); \
} \
Handle<FixedArray> pair_elements = factory->NewFixedArray(2); \
pair_elements->set(0, *name); \
@@ -13442,13 +13442,13 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ObjectHashTableSet) {
// Implementation of Runtime
#define F(name, number_of_args, result_size) \
- { Runtime::k##name, Runtime::RUNTIME, #name, \
+ { Runtime::k##name, Runtime::RUNTIME, "_" #name, \
FUNCTION_ADDR(Runtime_##name), number_of_args, result_size },
#define I(name, number_of_args, result_size) \
{ Runtime::kInline##name, Runtime::INLINE, \
- "_" #name, NULL, number_of_args, result_size },
+ "__" #name, NULL, number_of_args, result_size },
static const Runtime::Function kIntrinsicFunctions[] = {
RUNTIME_FUNCTION_LIST(F)
« no previous file with comments | « src/parser.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698