Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
af43b1ad
Commit
af43b1ad
authored
Feb 22, 2005
by
Tom Tromey
Committed by
Tom Tromey
Feb 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
From-SVN: r95405
parent
84b6a4d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
libjava/ChangeLog
+4
-0
libjava/java/lang/Object.h
+4
-1
No files found.
libjava/ChangeLog
View file @
af43b1ad
2005
-
02
-
22
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
java
/
lang
/
Object
.
h
(
_JvObjectPrefix
):
Declare
as
extern
"Java"
.
2005
-
02
-
22
Tom
Tromey
<
tromey
@
redhat
.
com
>
PR
java
/
20056
:
*
verify
.
cc
(
type
::
EITHER
):
New
constant
.
(
check_field_constant
):
Use
it
.
...
...
libjava/java/lang/Object.h
View file @
af43b1ad
// Object.h - Header file for java.lang.Object. -*- c++ -*-
/* Copyright (C) 1998, 1999, 2000, 2001, 2004 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000, 2001, 2004
, 2005
Free Software Foundation
This file is part of libgcj.
...
...
@@ -15,6 +15,8 @@ details. */
#include <gcj/javaprims.h>
extern
"Java"
{
// This class is mainly here as a kludge to get G++ to allocate two
// extra entries in each vtable.
struct
_JvObjectPrefix
...
...
@@ -27,6 +29,7 @@ protected:
virtual
void
nacd_2
(
void
)
{};
// Actually the GC bitmap marking descriptor.
# endif
};
}
// Forward declarations for friends of java::lang::Object
void
_Jv_MonitorEnter
(
jobject
obj
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment