ARM64: Fix cctest/test-disasm-arm64/debug on real hardware.

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
This commit is contained in:
alexandre.rames@arm.com 2014-04-02 15:45:13 +00:00
parent 56e8a26e09
commit a6d6cd08a1

View 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();
}