| 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 5463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5474 set_kind_tag(ModifierBits::update(value, raw_ptr()->kind_tag_)); | 5474 set_kind_tag(ModifierBits::update(value, raw_ptr()->kind_tag_)); |
| 5475 } | 5475 } |
| 5476 | 5476 |
| 5477 | 5477 |
| 5478 void Function::set_is_intrinsic(bool value) const { | 5478 void Function::set_is_intrinsic(bool value) const { |
| 5479 set_kind_tag(IntrinsicBit::update(value, raw_ptr()->kind_tag_)); | 5479 set_kind_tag(IntrinsicBit::update(value, raw_ptr()->kind_tag_)); |
| 5480 } | 5480 } |
| 5481 | 5481 |
| 5482 | 5482 |
| 5483 void Function::set_recognized_kind(MethodRecognizer::Kind value) const { | 5483 void Function::set_recognized_kind(MethodRecognizer::Kind value) const { |
| 5484 // Prevent multiple settings of kind. |
| 5485 ASSERT((value == MethodRecognizer::kUnknown) || !IsRecognized()); |
| 5484 set_kind_tag(RecognizedBits::update(value, raw_ptr()->kind_tag_)); | 5486 set_kind_tag(RecognizedBits::update(value, raw_ptr()->kind_tag_)); |
| 5485 } | 5487 } |
| 5486 | 5488 |
| 5487 | 5489 |
| 5488 void Function::set_is_redirecting(bool value) const { | 5490 void Function::set_is_redirecting(bool value) const { |
| 5489 set_kind_tag(RedirectingBit::update(value, raw_ptr()->kind_tag_)); | 5491 set_kind_tag(RedirectingBit::update(value, raw_ptr()->kind_tag_)); |
| 5490 } | 5492 } |
| 5491 | 5493 |
| 5492 | 5494 |
| 5493 void Function::set_is_static(bool value) const { | 5495 void Function::set_is_static(bool value) const { |
| (...skipping 14089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19583 return tag_label.ToCString(); | 19585 return tag_label.ToCString(); |
| 19584 } | 19586 } |
| 19585 | 19587 |
| 19586 | 19588 |
| 19587 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 19589 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 19588 Instance::PrintJSONImpl(stream, ref); | 19590 Instance::PrintJSONImpl(stream, ref); |
| 19589 } | 19591 } |
| 19590 | 19592 |
| 19591 | 19593 |
| 19592 } // namespace dart | 19594 } // namespace dart |
| OLD | NEW |