Index: runtime/platform/globals.h |
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h |
index 4c5d053bb4de8bd9e034c9784b7a2de21d87af21..3827c54c8a6f8aeac8cbcf5cbcae47b0db78c67d 100644 |
--- a/runtime/platform/globals.h |
+++ b/runtime/platform/globals.h |
@@ -271,6 +271,11 @@ public: \ |
private: \ |
void* operator new(size_t size); |
+#ifdef _MSC_VER |
Ivan Posva
2013/02/26 22:23:49
Please move this up next to the other toolchain de
|
+#define DART_FORCE_INLINE __forceinline |
+#else |
Ivan Posva
2013/02/26 22:23:49
You should not assume gcc if the compiler is not M
|
+#define DART_FORCE_INLINE inline __attribute__((always_inline)) |
+#endif |
// The USE(x) template is used to silence C++ compiler warnings issued |
// for unused variables. |