Revision: 18869
Author:   [email protected]
Date:     Tue Jan 28 09:53:22 2014 UTC
Log:      A64: Add suport for the --trap_on_deopt option.

[email protected]

Review URL: https://codereview.chromium.org/136113013
http://code.google.com/p/v8/source/detail?r=18869

Modified:
 /branches/experimental/a64/src/a64/lithium-codegen-a64.cc

=======================================
--- /branches/experimental/a64/src/a64/lithium-codegen-a64.cc Mon Jan 27 19:23:17 2014 UTC +++ /branches/experimental/a64/src/a64/lithium-codegen-a64.cc Tue Jan 28 09:53:22 2014 UTC
@@ -885,7 +885,10 @@
   }

   TODO_UNIMPLEMENTED("Add support for deopt_every_n_times flag.");
-  TODO_UNIMPLEMENTED("Add support for trap_on_deopt flag.");
+  if (FLAG_trap_on_deopt && info()->IsOptimizing()) {
+    __ Debug("trap_on_deopt", __LINE__, BREAK);
+  }
+

   // TODO(all): Currently this code directly jump to the second level deopt
   // table entry. This code need to be updated if we decide to use the

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to