Reviewers: ulan, jochen,

Description:
ARM64: Fix native cctest

CPUFeatures::Probe has been modified such that it can be called only once, but the cctests make two calls in native builds: once in VM init, and once in each
test setup. This patch removes the call in the test setup.

BUG=

Please review this at https://codereview.chromium.org/285273003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -2 lines):
  M test/cctest/test-assembler-arm64.cc


Index: test/cctest/test-assembler-arm64.cc
diff --git a/test/cctest/test-assembler-arm64.cc b/test/cctest/test-assembler-arm64.cc index c89cccef7ff62023a35311f0a3347012b0357d7e..74e456c63d5488bf3cbc61af9fa239dd8797be3d 100644
--- a/test/cctest/test-assembler-arm64.cc
+++ b/test/cctest/test-assembler-arm64.cc
@@ -173,8 +173,7 @@ static void InitializeVM() {
ASSERT(isolate != NULL); \ byte* buf = new byte[buf_size]; \ MacroAssembler masm(isolate, buf, buf_size); \ - RegisterDump core; \
-  CpuFeatures::Probe(false);
+  RegisterDump core;

#define RESET() \ __ Reset(); \


--
--
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/d/optout.

Reply via email to