Mercurial > hg > truffle
comparison src/share/vm/graal/graalJavaAccess.cpp @ 15161:2c940b1a48d8
Convert InstalledCode from an interface into an abstract class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 15 Apr 2014 15:01:40 +0200 |
parents | 3489047ffea2 |
children | 29e3ba750c9e |
comparison
equal
deleted
inserted
replaced
15160:a47e68e146a2 | 15161:2c940b1a48d8 |
---|---|
61 #define STATIC_OOP_FIELD(klass, name, signature) FIELD(klass, name, signature, true) | 61 #define STATIC_OOP_FIELD(klass, name, signature) FIELD(klass, name, signature, true) |
62 | 62 |
63 | 63 |
64 void graal_compute_offsets() { | 64 void graal_compute_offsets() { |
65 COMPILER_CLASSES_DO(START_CLASS, END_CLASS, CHAR_FIELD, INT_FIELD, BOOLEAN_FIELD, LONG_FIELD, FLOAT_FIELD, OOP_FIELD, STATIC_OOP_FIELD) | 65 COMPILER_CLASSES_DO(START_CLASS, END_CLASS, CHAR_FIELD, INT_FIELD, BOOLEAN_FIELD, LONG_FIELD, FLOAT_FIELD, OOP_FIELD, STATIC_OOP_FIELD) |
66 guarantee(HotSpotInstalledCode::_codeBlob_offset == sizeof(oopDesc), "codeBlob must be first field!"); | 66 guarantee(InstalledCode::_address_offset == sizeof(oopDesc), "codeBlob must be first field!"); |
67 } | 67 } |
68 | 68 |
69 #define EMPTY0 | 69 #define EMPTY0 |
70 #define EMPTY1(x) | 70 #define EMPTY1(x) |
71 #define EMPTY2(x,y) | 71 #define EMPTY2(x,y) |