diff options
author | 2015-08-04 11:18:43 -0700 | |
---|---|---|
committer | 2015-08-04 11:19:56 -0700 | |
commit | b1d8c314b55bb2df2b2bb72a3daaf5db65b7ebc7 (patch) | |
tree | 87e8252ee6ca23138f867989a098b7c4338c21a5 /runtime/lambda/box_table.cc | |
parent | 1d558db0bcd841140f6fe1c6ba2e9a6de131649d (diff) |
Revert "cleanup: Replace pointers with out-parameters and fix-up formatting"
This reverts commit a315f5c546b796f55f4872bb6efc15eb858d9639.
--
Revert "runtime: cleanup class_linker out-parameters and formatting"
This reverts commit bc1d78daa463572c5a770cdca858a3b51d8e1b7b.
--
Revert "base: replace raw pointers for out-parameters with safer out<T>"
This reverts commit fb326cffc679cab8eb873b9e44795706f023cb3c.
Diffstat (limited to 'runtime/lambda/box_table.cc')
-rw-r--r-- | runtime/lambda/box_table.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lambda/box_table.cc b/runtime/lambda/box_table.cc index 22cc820b73..64a6076aea 100644 --- a/runtime/lambda/box_table.cc +++ b/runtime/lambda/box_table.cc @@ -94,7 +94,8 @@ mirror::Object* BoxTable::BoxLambda(const ClosureType& closure) { return method_as_object; } -bool BoxTable::UnboxLambda(mirror::Object* object, out<ClosureType> out_closure) { +bool BoxTable::UnboxLambda(mirror::Object* object, ClosureType* out_closure) { + DCHECK(object != nullptr); *out_closure = nullptr; // Note that we do not need to access lambda_table_lock_ here |