8196884: VS2017 Multiple Type Cast Conversion Compilation Errors

Change the type of symbolic constant badAddressVal and introduce specific casts to fix multiple type cast conversion compilation errors.

Reviewed-by: coleenp, kbarrett
This commit is contained in:
Lois Foltan 2018-02-20 07:46:40 -05:00
parent 17fe1b7ec7
commit b085ebe7b7
7 changed files with 16 additions and 16 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -1486,7 +1486,7 @@ void PhaseCFG::global_code_motion() {
}
#endif
// Dead.
_node_latency = (GrowableArray<uint> *)0xdeadbeef;
_node_latency = (GrowableArray<uint> *)((intptr_t)0xdeadbeef);
}
bool PhaseCFG::do_global_code_motion() {