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

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

Issue 8381037: Make DartVM build with clang. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 "vm/assert.h" 8 #include "vm/assert.h"
9 #include "vm/dart.h" 9 #include "vm/dart.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 static RawClass* library_prefix_class_; // Class of Library prefix vm object. 328 static RawClass* library_prefix_class_; // Class of Library prefix vm object.
329 static RawClass* code_class_; // Class of the Code vm object. 329 static RawClass* code_class_; // Class of the Code vm object.
330 static RawClass* instructions_class_; // Class of the Instructions vm object. 330 static RawClass* instructions_class_; // Class of the Instructions vm object.
331 static RawClass* pc_descriptors_class_; // Class of PcDescriptors vm object. 331 static RawClass* pc_descriptors_class_; // Class of PcDescriptors vm object.
332 static RawClass* exception_handlers_class_; // Class of ExceptionHandlers. 332 static RawClass* exception_handlers_class_; // Class of ExceptionHandlers.
333 static RawClass* context_class_; // Class of the Context vm object. 333 static RawClass* context_class_; // Class of the Context vm object.
334 static RawClass* context_scope_class_; // Class of ContextScope vm object. 334 static RawClass* context_scope_class_; // Class of ContextScope vm object.
335 static RawClass* api_failure_class_; // Class of ApiFailure. 335 static RawClass* api_failure_class_; // Class of ApiFailure.
336 336
337 friend class Class; 337 friend class Class;
338 friend class SnapshotReader;
338 339
339 // Disallow allocation. 340 // Disallow allocation.
340 void* operator new(size_t size); 341 void* operator new(size_t size);
341 // Disallow copy constructor. 342 // Disallow copy constructor.
342 DISALLOW_COPY_AND_ASSIGN(Object); 343 DISALLOW_COPY_AND_ASSIGN(Object);
343 }; 344 };
344 345
345 346
346 class Class : public Object { 347 class Class : public Object {
347 public: 348 public:
(...skipping 2621 matching lines...) Expand 10 before | Expand all | Expand 10 after
2969 } 2970 }
2970 2971
2971 2972
2972 void Context::SetAt(intptr_t index, const Instance& value) const { 2973 void Context::SetAt(intptr_t index, const Instance& value) const {
2973 StorePointer(InstanceAddr(index), value.raw()); 2974 StorePointer(InstanceAddr(index), value.raw());
2974 } 2975 }
2975 2976
2976 } // namespace dart 2977 } // namespace dart
2977 2978
2978 #endif // VM_OBJECT_H_ 2979 #endif // VM_OBJECT_H_
OLDNEW
« runtime/third_party/jscre/pcre_exec.cpp ('K') | « runtime/third_party/jscre/pcre_exec.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698