equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "code/debugInfo.hpp" |
26 #include "code/debugInfo.hpp" |
27 #include "code/location.hpp" |
27 #include "code/location.hpp" |
|
28 #include "runtime/handles.inline.hpp" |
28 |
29 |
29 void Location::print_on(outputStream* st) const { |
30 void Location::print_on(outputStream* st) const { |
30 if(type() == invalid) { |
31 if(type() == invalid) { |
31 // product of Location::invalid_loc() or Location::Location(). |
32 // product of Location::invalid_loc() or Location::Location(). |
32 switch (where()) { |
33 switch (where()) { |