# HG changeset patch # User Josef Eisl # Date 1422527239 -3600 # Node ID cc2b817de0b598cca69a7041db482a238642d14f # Parent a11dcfb156953739739ea44dcb3ffb006aa7d2df StackSlotAllocation: fix style/formating issues. diff -r a11dcfb15695 -r cc2b817de0b5 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/InstructionNumberer.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/InstructionNumberer.java Thu Jan 29 11:14:27 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/InstructionNumberer.java Thu Jan 29 11:27:19 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 diff -r a11dcfb15695 -r cc2b817de0b5 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java Thu Jan 29 11:14:27 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java Thu Jan 29 11:27:19 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -53,7 +53,7 @@ public static class Options { // @formatter:off - @Option(help = "Enable linear scan stack slot allocation.") + @Option(help = "Enable linear scan stack slot allocation.", type = OptionType.Debug) public static final OptionValue EnableLSStackSlotAllocation = new OptionValue<>(true); // @formatter:on } diff -r a11dcfb15695 -r cc2b817de0b5 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/SimpleStackSlotAllocator.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/SimpleStackSlotAllocator.java Thu Jan 29 11:14:27 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/SimpleStackSlotAllocator.java Thu Jan 29 11:27:19 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 diff -r a11dcfb15695 -r cc2b817de0b5 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackInterval.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackInterval.java Thu Jan 29 11:14:27 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackInterval.java Thu Jan 29 11:27:19 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 diff -r a11dcfb15695 -r cc2b817de0b5 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackSlotAllocator.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackSlotAllocator.java Thu Jan 29 11:14:27 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackSlotAllocator.java Thu Jan 29 11:27:19 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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 @@ -36,18 +36,18 @@ /** * The number of allocated stack slots. */ - static final DebugMetric allocatedSlots = Debug.metric("StackSlotAllocator[allocatedSlots]"); + DebugMetric allocatedSlots = Debug.metric("StackSlotAllocator[allocatedSlots]"); /** * The number of reused stack slots. */ - static final DebugMetric reusedSlots = Debug.metric("StackSlotAllocator[reusedSlots]"); + DebugMetric reusedSlots = Debug.metric("StackSlotAllocator[reusedSlots]"); /** - * The size (in bytes) required for all allocated stack slots. Note that this number - * corresponds to the actual frame size and might include alignment. + * The size (in bytes) required for all allocated stack slots. Note that this number corresponds + * to the actual frame size and might include alignment. */ - static final DebugMetric allocatedFramesize = Debug.metric("StackSlotAllocator[AllocatedFramesize]"); + DebugMetric allocatedFramesize = Debug.metric("StackSlotAllocator[AllocatedFramesize]"); /** The size (in bytes) required for all virtual stack slots. */ - static final DebugMetric virtualFramesize = Debug.metric("StackSlotAllocator[VirtualFramesize]"); + DebugMetric virtualFramesize = Debug.metric("StackSlotAllocator[VirtualFramesize]"); void allocateStackSlots(FrameMapBuilderTool builder, LIRGenerationResult res); } diff -r a11dcfb15695 -r cc2b817de0b5 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackUsePosList.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackUsePosList.java Thu Jan 29 11:14:27 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/StackUsePosList.java Thu Jan 29 11:27:19 2015 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015, 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