Chromium Code Reviews| Index: src/arguments.cc |
| diff --git a/src/arguments.cc b/src/arguments.cc |
| index 3a4d733152ff8c7a0b0b7f059118541971852b1e..abcc8a7756457d9c461dd07799eb9fa3ac7b6cef 100644 |
| --- a/src/arguments.cc |
| +++ b/src/arguments.cc |
| @@ -116,5 +116,11 @@ FOR_EACH_CALLBACK_TABLE_MAPPING_2_VOID_RETURN(WRITE_CALL_2_VOID) |
| #undef WRITE_CALL_2 |
| #undef WRITE_CALL_2_VOID |
| +#ifdef DEBUG |
| +double ClobberDoubleRegisters(double x1, double x2, double x3, double x4) { |
|
danno
2013/11/20 13:55:52
This is pretty fragile. How about making this a pl
ulan
2013/11/20 16:20:05
Removed DEBUG and add TODO for platform specific a
|
| + return x1 * 1.01 + x2 * 2.02 + x3 * 3.03 + x4 * 4.04; |
| +} |
| +#endif |
| + |
| } } // namespace v8::internal |