OLD | NEW |
---|---|
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "platform/assert.h" | |
6 #include "vm/globals.h" | |
Mads Ager (chromium)
2012/01/13 14:42:08
Why is globals.h needed here?
Søren Gjesse
2012/01/16 08:58:00
vm/assert.h used to include vm/globals.h. It vas a
| |
5 #include "vm/native_arguments.h" | 7 #include "vm/native_arguments.h" |
Ivan Posva
2012/01/13 23:22:06
First.
Søren Gjesse
2012/01/16 08:58:00
Done.
| |
6 | |
7 #include "vm/assert.h" | |
8 #include "vm/object.h" | 8 #include "vm/object.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
11 | 11 |
12 void NativeArguments::SetReturn(const Object& value) const { | 12 void NativeArguments::SetReturn(const Object& value) const { |
13 *retval_ = value.raw(); | 13 *retval_ = value.raw(); |
14 } | 14 } |
15 | 15 |
16 } // namespace dart | 16 } // namespace dart |
OLD | NEW |