Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: tools/test.py

Issue 6874007: Implement hardfloat calling convention in macro assembler and simulator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add num_double_arguments to CallCFunction Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.py
diff --git a/tools/test.py b/tools/test.py
index c1840bb428803f36ee3727da4b325d0bb487c5bc..fb0939170605edbacdfba8735239bf1e2a8282c2 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -1229,6 +1229,8 @@ def BuildOptions():
default=1, type="int")
result.add_option("--noprof", help="Disable profiling support",
default=False)
+ result.add_option("--hardfloat", help="use hardware floating point ABI",
+ default=False, action="store_true")
return result
@@ -1271,6 +1273,11 @@ def ProcessOptions(options):
if options.noprof:
options.scons_flags.append("prof=off")
options.scons_flags.append("profilingsupport=off")
+ if options.hardfloat:
+ if options.special_command:
+ options.special_command += " --hardfloat"
+ else:
+ options.special_command = "@--hardfloat"
return True
« no previous file with comments | « src/flag-definitions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698