diff options
author | yangguo@chromium.org <yangguo@chromium.org> | 2012-05-08 12:38:24 +0000 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-06-11 21:24:27 +0200 |
commit | 33be3016fb145d697187c14acf79485f408af5cb (patch) | |
tree | 08e299395c5fed9797d70371134e8b373d43d42a /deps/v8/src/globals.h | |
parent | 2eb181d28c71e20307166c06317cdd03d102854c (diff) | |
download | android-node-v8-33be3016fb145d697187c14acf79485f408af5cb.tar.gz android-node-v8-33be3016fb145d697187c14acf79485f408af5cb.tar.bz2 android-node-v8-33be3016fb145d697187c14acf79485f408af5cb.zip |
Force inlining CopyChars and String::Get.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10332054
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Diffstat (limited to 'deps/v8/src/globals.h')
-rw-r--r-- | deps/v8/src/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/globals.h b/deps/v8/src/globals.h index 25d4ffe89b..97b033f848 100644 --- a/deps/v8/src/globals.h +++ b/deps/v8/src/globals.h @@ -345,6 +345,9 @@ F FUNCTION_CAST(Address addr) { #define INLINE(header) inline __attribute__((always_inline)) header #define NO_INLINE(header) __attribute__((noinline)) header #endif +#elif defined(_MSC_VER) && !defined(DEBUG) +#define INLINE(header) __forceinline header +#define NO_INLINE(header) header #else #define INLINE(header) inline header #define NO_INLINE(header) header |