| OLD | NEW |
| 1 // Copyright (c) 2012, 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 "vm/object.h" | 5 #include "vm/object.h" |
| 6 | 6 |
| 7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
| (...skipping 5507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5518 } | 5518 } |
| 5519 | 5519 |
| 5520 | 5520 |
| 5521 void Function::set_is_external(bool value) const { | 5521 void Function::set_is_external(bool value) const { |
| 5522 set_kind_tag(ExternalBit::update(value, raw_ptr()->kind_tag_)); | 5522 set_kind_tag(ExternalBit::update(value, raw_ptr()->kind_tag_)); |
| 5523 } | 5523 } |
| 5524 | 5524 |
| 5525 | 5525 |
| 5526 void Function::set_is_async_closure(bool value) const { | 5526 void Function::set_is_async_closure(bool value) const { |
| 5527 set_kind_tag(AsyncClosureBit::update(value, raw_ptr()->kind_tag_)); | 5527 set_kind_tag(AsyncClosureBit::update(value, raw_ptr()->kind_tag_)); |
| 5528 set_is_optimizable(false); |
| 5528 } | 5529 } |
| 5529 | 5530 |
| 5530 | 5531 |
| 5531 void Function::set_token_pos(intptr_t value) const { | 5532 void Function::set_token_pos(intptr_t value) const { |
| 5532 ASSERT(value >= 0); | 5533 ASSERT(value >= 0); |
| 5533 raw_ptr()->token_pos_ = value; | 5534 raw_ptr()->token_pos_ = value; |
| 5534 } | 5535 } |
| 5535 | 5536 |
| 5536 | 5537 |
| 5537 void Function::set_kind_tag(intptr_t value) const { | 5538 void Function::set_kind_tag(intptr_t value) const { |
| (...skipping 13927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19465 return tag_label.ToCString(); | 19466 return tag_label.ToCString(); |
| 19466 } | 19467 } |
| 19467 | 19468 |
| 19468 | 19469 |
| 19469 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 19470 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 19470 Instance::PrintJSONImpl(stream, ref); | 19471 Instance::PrintJSONImpl(stream, ref); |
| 19471 } | 19472 } |
| 19472 | 19473 |
| 19473 | 19474 |
| 19474 } // namespace dart | 19475 } // namespace dart |
| OLD | NEW |