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

Unified Diff: src/runtime.h

Issue 7289010: exposing some methods from objects.h (alternative to counters) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 | « no previous file | src/runtime.cc » ('j') | src/runtime.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.h
diff --git a/src/runtime.h b/src/runtime.h
index 5efc057df9da2b1b897b7242c2a56810e2afcdef..108c965d9566a766af3d04ad9e3460bf060d3ea1 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -334,7 +334,23 @@ namespace internal {
F(MessageGetScript, 1, 1) \
\
/* Pseudo functions - handled as macros by parser */ \
- F(IS_VAR, 1, 1)
+ F(IS_VAR, 1, 1) \
+ \
+ /* expose boolean functions from objects-inl.h */ \
+ F(ObjectHasFastElements, 1, 1) \
danno 2011/06/30 17:24:04 Is there any reason that you don't call these HasX
+ F(ObjectHasFastDoubleElements, 1, 1) \
+ F(ObjectHasDictionaryElements, 1, 1) \
+ F(ObjectHasExternalPixelElements, 1, 1) \
+ F(ObjectHasExternalArrayElements, 1, 1) \
+ F(ObjectHasExternalByteElements, 1, 1) \
+ F(ObjectHasExternalUnsignedByteElements, 1, 1) \
+ F(ObjectHasExternalShortElements, 1, 1) \
+ F(ObjectHasExternalUnsignedShortElements, 1, 1) \
+ F(ObjectHasExternalIntElements, 1, 1) \
+ F(ObjectHasExternalUnsignedIntElements, 1, 1) \
+ F(ObjectHasExternalFloatElements, 1, 1) \
+ F(ObjectHasExternalDoubleElements, 1, 1)
+
#ifdef ENABLE_DEBUGGER_SUPPORT
#define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698