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

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

Issue 21363003: Enables per-function far-branches for ARM and MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 3950 matching lines...) Expand 10 before | Expand all | Expand 10 after
3961 void Function::set_kind(RawFunction::Kind value) const { 3961 void Function::set_kind(RawFunction::Kind value) const {
3962 set_kind_tag(KindBits::update(value, raw_ptr()->kind_tag_)); 3962 set_kind_tag(KindBits::update(value, raw_ptr()->kind_tag_));
3963 } 3963 }
3964 3964
3965 3965
3966 void Function::set_is_intrinsic(bool value) const { 3966 void Function::set_is_intrinsic(bool value) const {
3967 set_kind_tag(IntrinsicBit::update(value, raw_ptr()->kind_tag_)); 3967 set_kind_tag(IntrinsicBit::update(value, raw_ptr()->kind_tag_));
3968 } 3968 }
3969 3969
3970 3970
3971 void Function::set_needs_far_branches(bool value) const {
3972 set_kind_tag(FarBranchesBit::update(value, raw_ptr()->kind_tag_));
3973 }
3974
3975
3971 void Function::set_is_static(bool value) const { 3976 void Function::set_is_static(bool value) const {
3972 set_kind_tag(StaticBit::update(value, raw_ptr()->kind_tag_)); 3977 set_kind_tag(StaticBit::update(value, raw_ptr()->kind_tag_));
3973 } 3978 }
3974 3979
3975 3980
3976 void Function::set_is_const(bool value) const { 3981 void Function::set_is_const(bool value) const {
3977 set_kind_tag(ConstBit::update(value, raw_ptr()->kind_tag_)); 3982 set_kind_tag(ConstBit::update(value, raw_ptr()->kind_tag_));
3978 } 3983 }
3979 3984
3980 3985
(...skipping 10401 matching lines...) Expand 10 before | Expand all | Expand 10 after
14382 } 14387 }
14383 14388
14384 14389
14385 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { 14390 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const {
14386 stream->OpenObject(); 14391 stream->OpenObject();
14387 stream->CloseObject(); 14392 stream->CloseObject();
14388 } 14393 }
14389 14394
14390 14395
14391 } // namespace dart 14396 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698