ARM64: Fix cctest/test-disasm-arm64/debug on real hardware.
authoralexandre.rames@arm.com <alexandre.rames@arm.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 2 Apr 2014 15:45:13 +0000 (15:45 +0000)
committeralexandre.rames@arm.com <alexandre.rames@arm.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 2 Apr 2014 15:45:13 +0000 (15:45 +0000)
Without the 'BREAK' parameter, no instruction is generated when we are not
running with the simulator.

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/221903004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20443 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/test-disasm-arm64.cc

index 3343175..23f7b6d 100644 (file)
@@ -1605,13 +1605,13 @@ TEST_(debug) {
 
   // All debug codes should produce the same instruction, and the debug code
   // can be any uint32_t.
-  COMPARE(debug("message", 0, NO_PARAM), "hlt #0xdeb0");
-  COMPARE(debug("message", 1, NO_PARAM), "hlt #0xdeb0");
-  COMPARE(debug("message", 0xffff, NO_PARAM), "hlt #0xdeb0");
-  COMPARE(debug("message", 0x10000, NO_PARAM), "hlt #0xdeb0");
-  COMPARE(debug("message", 0x7fffffff, NO_PARAM), "hlt #0xdeb0");
-  COMPARE(debug("message", 0x80000000u, NO_PARAM), "hlt #0xdeb0");
-  COMPARE(debug("message", 0xffffffffu, NO_PARAM), "hlt #0xdeb0");
+  COMPARE(debug("message", 0, BREAK), "hlt #0xdeb0");
+  COMPARE(debug("message", 1, BREAK), "hlt #0xdeb0");
+  COMPARE(debug("message", 0xffff, BREAK), "hlt #0xdeb0");
+  COMPARE(debug("message", 0x10000, BREAK), "hlt #0xdeb0");
+  COMPARE(debug("message", 0x7fffffff, BREAK), "hlt #0xdeb0");
+  COMPARE(debug("message", 0x80000000u, BREAK), "hlt #0xdeb0");
+  COMPARE(debug("message", 0xffffffffu, BREAK), "hlt #0xdeb0");
 
   CLEANUP();
 }