| Index: dart/frog/scripts/bootstrap/frog_wrapper.py
|
| diff --git a/dart/frog/scripts/bootstrap/frog_wrapper.py b/dart/frog/scripts/bootstrap/frog_wrapper.py
|
| index 7bfe37b5ea8faa5ad32fc1157bfed73afd5db204..e9f02f237ff2c4073735f89d979bc5ebc487e45f 100644
|
| --- a/dart/frog/scripts/bootstrap/frog_wrapper.py
|
| +++ b/dart/frog/scripts/bootstrap/frog_wrapper.py
|
| @@ -17,7 +17,14 @@ def main(args):
|
| print "Could not find frog"
|
| return 1
|
|
|
| - frog_args = [ 'frog.py', '--vm=' + VM ]
|
| + frog_args = [ 'frog.py', '--vm=%s' % VM]
|
| + js_cmd_flag = '--js_cmd=%s --crankshaft' % D8
|
| + for arg in args:
|
| + if arg.startswith('--js_cmd'):
|
| + js_cmd_flag = arg
|
| + if js_cmd_flag in args:
|
| + args.remove(js_cmd_flag)
|
| + frog_args.append(js_cmd_flag)
|
| if VM_FLAGS:
|
| frog_args.append(VM_FLAGS)
|
| frog_args.append('--')
|
|
|