diff options
Diffstat (limited to 'src/object.h')
-rw-r--r-- | src/object.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/object.h b/src/object.h index fa09782e23..9b3bf88528 100644 --- a/src/object.h +++ b/src/object.h @@ -2494,7 +2494,6 @@ inline const String* Field::GetName() const { inline void Field::SetName(String* new_name) { SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Field, name_), new_name, false); - } inline uint32_t Field::GetAccessFlags() const { @@ -2602,6 +2601,12 @@ inline uint32_t Method::GetProtoIdx() const { // C++ mirror of java.lang.Throwable class Throwable : public Object { + public: + void SetDetailMessage(String* new_detail_message) { + SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), + new_detail_message, false); + } + private: // Field order required by test "ValidateFieldOrderOfJavaCppUnionClasses". Throwable* cause_; |