Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 0e78af87f127f9f03ca4f5bd2d6a2a25db7f98a4..b262cf765106f27c4cf5ffd2ccb4c14d5f441955 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6901,11 +6901,16 @@ class Script: public Struct { |
V(Math, clz32, MathClz32) \ |
V(Math, fround, MathFround) |
+#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |
+ V(Atomics, load, AtomicsLoad) \ |
+ V(Atomics, store, AtomicsStore) |
+ |
enum BuiltinFunctionId { |
kArrayCode, |
#define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
k##name, |
FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
+ ATOMIC_FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
Jarin
2015/06/01 17:50:10
Funny indentation.
binji
2015/06/02 21:32:55
Agreed. This is what git cl format does, I think b
Jarin
2015/06/03 13:30:14
I think this is because git cl format only format
|
#undef DECLARE_FUNCTION_ID |
// Fake id for a special case of Math.pow. Note, it continues the |
// list of math functions. |