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

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

Issue 9968088: Revert my last change due to problems on other platforms. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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/compiler.cc ('k') | runtime/vm/object.cc » ('j') | 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 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 } 1391 }
1392 void set_deoptimization_counter(intptr_t value) const { 1392 void set_deoptimization_counter(intptr_t value) const {
1393 raw_ptr()->deoptimization_counter_ = value; 1393 raw_ptr()->deoptimization_counter_ = value;
1394 } 1394 }
1395 1395
1396 bool is_optimizable() const { 1396 bool is_optimizable() const {
1397 return raw_ptr()->is_optimizable_; 1397 return raw_ptr()->is_optimizable_;
1398 } 1398 }
1399 void set_is_optimizable(bool value) const; 1399 void set_is_optimizable(bool value) const;
1400 1400
1401 bool is_compiling() const {
1402 return raw_ptr()->is_compiling_;
1403 }
1404 void set_is_compiling(bool value) const {
1405 raw_ptr()->is_compiling_ = value;
1406 }
1407
1408 bool HasOptimizedCode() const; 1401 bool HasOptimizedCode() const;
1409 1402
1410 intptr_t NumberOfParameters() const; 1403 intptr_t NumberOfParameters() const;
1411 1404
1412 bool AreValidArgumentCounts(int num_arguments, int num_named_arguments) const; 1405 bool AreValidArgumentCounts(int num_arguments, int num_named_arguments) const;
1413 bool AreValidArguments(int num_arguments, const Array& argument_names) const; 1406 bool AreValidArguments(int num_arguments, const Array& argument_names) const;
1414 1407
1415 // Fully qualified name uniquely identifying the function under gdb and during 1408 // Fully qualified name uniquely identifying the function under gdb and during
1416 // ast printing. The special ':' character, if present, is replaced by '_'. 1409 // ast printing. The special ':' character, if present, is replaced by '_'.
1417 const char* ToFullyQualifiedCString() const; 1410 const char* ToFullyQualifiedCString() const;
(...skipping 2540 matching lines...) Expand 10 before | Expand all | Expand 10 after
3958 } 3951 }
3959 3952
3960 3953
3961 intptr_t Stackmap::SizeInBits() const { 3954 intptr_t Stackmap::SizeInBits() const {
3962 return (Smi::Value(raw_ptr()->bitmap_size_in_bytes_) * kBitsPerByte); 3955 return (Smi::Value(raw_ptr()->bitmap_size_in_bytes_) * kBitsPerByte);
3963 } 3956 }
3964 3957
3965 } // namespace dart 3958 } // namespace dart
3966 3959
3967 #endif // VM_OBJECT_H_ 3960 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698