Revision: 18858
Author:   [email protected]
Date:     Mon Jan 27 15:35:51 2014 UTC
Log:      A64: Make 'debug BREAK' instructions halt on real hardware.

[email protected]

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

Modified:
 /branches/experimental/a64/src/a64/assembler-a64.cc

=======================================
--- /branches/experimental/a64/src/a64/assembler-a64.cc Wed Jan 22 12:46:44 2014 UTC +++ /branches/experimental/a64/src/a64/assembler-a64.cc Mon Jan 27 15:35:51 2014 UTC
@@ -1808,6 +1808,10 @@
   ASSERT(SizeOfCodeGeneratedSince(&start) == kDebugMessageOffset);
   EmitStringData(message);
   hlt(kImmExceptionIsUnreachable);
+#else
+  if (params & BREAK) {
+    hlt(kImmExceptionIsDebug);
+  }
 #endif
 }

--
--
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