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

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

Issue 26565006: Rearrange bits in the bitfields to get better compaction, this reduces (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4930 matching lines...) Expand 10 before | Expand all | Expand 10 after
4941 result.set_parameter_names(Object::empty_array()); 4941 result.set_parameter_names(Object::empty_array());
4942 result.set_name(name); 4942 result.set_name(name);
4943 result.set_kind(kind); 4943 result.set_kind(kind);
4944 result.set_is_static(is_static); 4944 result.set_is_static(is_static);
4945 result.set_is_const(is_const); 4945 result.set_is_const(is_const);
4946 result.set_is_abstract(is_abstract); 4946 result.set_is_abstract(is_abstract);
4947 result.set_is_external(is_external); 4947 result.set_is_external(is_external);
4948 result.set_is_visible(true); // Will be computed later. 4948 result.set_is_visible(true); // Will be computed later.
4949 result.set_is_intrinsic(false); 4949 result.set_is_intrinsic(false);
4950 result.set_is_recognized(false); 4950 result.set_is_recognized(false);
4951 result.set_is_redirecting(false);
4951 result.set_owner(owner); 4952 result.set_owner(owner);
4952 result.set_token_pos(token_pos); 4953 result.set_token_pos(token_pos);
4953 result.set_end_token_pos(token_pos); 4954 result.set_end_token_pos(token_pos);
4954 result.set_num_fixed_parameters(0); 4955 result.set_num_fixed_parameters(0);
4955 result.set_num_optional_parameters(0); 4956 result.set_num_optional_parameters(0);
4956 result.set_usage_counter(0); 4957 result.set_usage_counter(0);
4957 result.set_deoptimization_counter(0); 4958 result.set_deoptimization_counter(0);
4958 result.set_optimized_instruction_count(0); 4959 result.set_optimized_instruction_count(0);
4959 result.set_optimized_call_site_count(0); 4960 result.set_optimized_call_site_count(0);
4960 result.set_is_optimizable(true); 4961 result.set_is_optimizable(true);
(...skipping 10591 matching lines...) Expand 10 before | Expand all | Expand 10 after
15552 return "_MirrorReference"; 15553 return "_MirrorReference";
15553 } 15554 }
15554 15555
15555 15556
15556 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { 15557 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const {
15557 JSONObject jsobj(stream); 15558 JSONObject jsobj(stream);
15558 } 15559 }
15559 15560
15560 15561
15561 } // namespace dart 15562 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698