Index: src/arguments.cc |
diff --git a/src/arguments.cc b/src/arguments.cc |
index 3a4d733152ff8c7a0b0b7f059118541971852b1e..ae06bd081b8b8b5334919b3e4faab53372ca8b1b 100644 |
--- a/src/arguments.cc |
+++ b/src/arguments.cc |
@@ -117,4 +117,11 @@ FOR_EACH_CALLBACK_TABLE_MAPPING_2_VOID_RETURN(WRITE_CALL_2_VOID) |
#undef WRITE_CALL_2_VOID |
+double ClobberDoubleRegisters(double x1, double x2, double x3, double x4) { |
+ // TODO(ulan): This clobbers only subset of registers depending on compiler, |
+ // Rewrite this in assembly to really clobber all registers. |
+ return x1 * 1.01 + x2 * 2.02 + x3 * 3.03 + x4 * 4.04; |
+} |
+ |
+ |
} } // namespace v8::internal |