src/share/vm/c1/c1_Instruction.hpp

changeset 5614
9758d9f36299
parent 4947
acadb114c818
child 5914
d13d7aba8c12
     1.1 --- a/src/share/vm/c1/c1_Instruction.hpp	Thu Aug 29 21:46:09 2013 +0200
     1.2 +++ b/src/share/vm/c1/c1_Instruction.hpp	Thu Aug 29 18:56:29 2013 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -323,7 +323,7 @@
    1.11    }
    1.12  
    1.13   public:
    1.14 -  void* operator new(size_t size) {
    1.15 +  void* operator new(size_t size) throw() {
    1.16      Compilation* c = Compilation::current();
    1.17      void* res = c->arena()->Amalloc(size);
    1.18      ((Instruction*)res)->_id = c->get_next_id();
    1.19 @@ -1611,7 +1611,7 @@
    1.20    friend class SuxAndWeightAdjuster;
    1.21  
    1.22   public:
    1.23 -   void* operator new(size_t size) {
    1.24 +   void* operator new(size_t size) throw() {
    1.25      Compilation* c = Compilation::current();
    1.26      void* res = c->arena()->Amalloc(size);
    1.27      ((BlockBegin*)res)->_id = c->get_next_id();

mercurial