Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: runtime/vm/object.cc

Issue 26436004: Implement constructor kinds in the VM mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: both_ Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 4179 matching lines...) Expand 10 before | Expand all | Expand 10 after
4190 void Function::set_is_intrinsic(bool value) const { 4190 void Function::set_is_intrinsic(bool value) const {
4191 set_kind_tag(IntrinsicBit::update(value, raw_ptr()->kind_tag_)); 4191 set_kind_tag(IntrinsicBit::update(value, raw_ptr()->kind_tag_));
4192 } 4192 }
4193 4193
4194 4194
4195 void Function::set_is_recognized(bool value) const { 4195 void Function::set_is_recognized(bool value) const {
4196 set_kind_tag(RecognizedBit::update(value, raw_ptr()->kind_tag_)); 4196 set_kind_tag(RecognizedBit::update(value, raw_ptr()->kind_tag_));
4197 } 4197 }
4198 4198
4199 4199
4200 void Function::set_is_redirecting(bool value) const {
4201 set_kind_tag(RedirectingBit::update(value, raw_ptr()->kind_tag_));
4202 }
4203
4204
4200 void Function::set_is_static(bool value) const { 4205 void Function::set_is_static(bool value) const {
4201 set_kind_tag(StaticBit::update(value, raw_ptr()->kind_tag_)); 4206 set_kind_tag(StaticBit::update(value, raw_ptr()->kind_tag_));
4202 } 4207 }
4203 4208
4204 4209
4205 void Function::set_is_const(bool value) const { 4210 void Function::set_is_const(bool value) const {
4206 set_kind_tag(ConstBit::update(value, raw_ptr()->kind_tag_)); 4211 set_kind_tag(ConstBit::update(value, raw_ptr()->kind_tag_));
4207 } 4212 }
4208 4213
4209 4214
(...skipping 11132 matching lines...) Expand 10 before | Expand all | Expand 10 after
15342 return "_MirrorReference"; 15347 return "_MirrorReference";
15343 } 15348 }
15344 15349
15345 15350
15346 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { 15351 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const {
15347 JSONObject jsobj(stream); 15352 JSONObject jsobj(stream);
15348 } 15353 }
15349 15354
15350 15355
15351 } // namespace dart 15356 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698