Chromium Code Reviews| Index: src/globals.h |
| diff --git a/src/globals.h b/src/globals.h |
| index 415b32b87a7b841efb09f4af6d7d6b8edfadc884..ebfc45cfd424b60f0ee4f49ca436d015ea37c47b 100644 |
| --- a/src/globals.h |
| +++ b/src/globals.h |
| @@ -163,6 +163,13 @@ namespace internal { |
| #error Unknown target architecture endiannes |
| #endif |
| +#if V8_TARGET_ARCH_ARM |
| +// On ARM, for some arithmetic instructions, the macro assembler defines |
| +// XXXMemOperand macro instructions which are able to load the right operand |
| +// from memory. |
| +#define V8_BETTER_OPERAND_ON_RIGHT |
|
Benedikt Meurer
2013/08/20 11:55:34
I don't like this #define. Why not switch the orde
vincent.belliard.fr
2013/08/22 12:35:48
Once again, the code has been made for IA32 where
Benedikt Meurer
2013/08/23 07:41:02
I still don't see why this macro is needed at all.
|
| +#endif |
| + |
| // Support for alternative bool type. This is only enabled if the code is |
| // compiled with USE_MYBOOL defined. This catches some nasty type bugs. |
| // For instance, 'bool b = "false";' results in b == true! This is a hidden |