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

Unified Diff: src/macros.py

Issue 7737036: Reorganize object type enum, such that proxies are no longer in the middle (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Kevin's comments. Created 9 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
Index: src/macros.py
diff --git a/src/macros.py b/src/macros.py
index e3d1e03871125eb153db73a043b26aa69a54f2e6..473d5bac94d94e205a0408c39b25b44d5068ec4c 100644
--- a/src/macros.py
+++ b/src/macros.py
@@ -119,6 +119,7 @@ macro FLOOR(arg) = $floor(arg);
# This is the same as being either a function or an object in V8 terminology.
Erik Corry 2011/09/15 09:13:46 Is this comment accurate and up to date? I think
rossberg 2011/09/15 14:06:07 No, a proper version is on HEAD already (from a di
# In addition, an undetectable object is also included by this.
macro IS_SPEC_OBJECT(arg) = (%_IsSpecObject(arg));
+macro IS_SPEC_FUNCTION(arg) = (%_ClassOf(arg) == 'Function');
# Inline macros. Use %IS_VAR to make sure arg is evaluated only once.
macro NUMBER_IS_NAN(arg) = (!%_IsSmi(%IS_VAR(arg)) && !(arg == arg));

Powered by Google App Engine
This is Rietveld 408576698