From: alexandre.rames@arm.com Date: Wed, 2 Apr 2014 15:45:13 +0000 (+0000) Subject: ARM64: Fix cctest/test-disasm-arm64/debug on real hardware. X-Git-Tag: upstream/4.7.83~9861 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6d6cd08a1c1d8bb5a6ec47ec3e0515e72610b3b;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/test/cctest/test-disasm-arm64.cc b/test/cctest/test-disasm-arm64.cc index 3343175..23f7b6d 100644 --- a/test/cctest/test-disasm-arm64.cc +++ b/test/cctest/test-disasm-arm64.cc @@ -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(); }