src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
--- 1,7 ----
/*
! * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
*** 21,30 ****
--- 21,33 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef CPU_ZERO_VM_CPPINTERPRETERGENERATOR_ZERO_HPP
+ #define CPU_ZERO_VM_CPPINTERPRETERGENERATOR_ZERO_HPP
+
protected:
MacroAssembler* assembler() const {
return _masm;
}
*** 33,37 ****
--- 36,42 ----
ZeroEntry *entry = (ZeroEntry *) assembler()->pc();
assembler()->advance(sizeof(ZeroEntry));
entry->set_entry_point(entry_point);
return (address) entry;
}
+
+ #endif // CPU_ZERO_VM_CPPINTERPRETERGENERATOR_ZERO_HPP