commit | f24d3cedd395690f6904aaac80f84a100420f7a3 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Apr 11 17:43:37 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Apr 11 17:43:37 2012 -0700 |
tree | 1867ff0b6f3bebb4f611eaf72b05b14843c55d93 | |
parent | 14fe6aea00598ba5d40d3e5bfa62f26a1c8cfdff [diff] [blame] |
Enforce the use of accessors on JValue so we can ensure sign extension. Change-Id: I34810af7661d8674c84707afe5cfdf9e2c233f8b
diff --git a/src/object.cc b/src/object.cc index f863a39..158f0e6 100644 --- a/src/object.cc +++ b/src/object.cc
@@ -570,7 +570,7 @@ PrettyMethod(this).c_str(), GetCode(), stub, Runtime::Current()->IsStarted() ? "true" : "false"); if (result != NULL) { - result->j = 0; + result->SetJ(0); } }