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

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

Issue 1414333014: Queueing fix, cleanups. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: d Created 5 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
« runtime/vm/compiler.cc ('K') | « runtime/vm/compiler.cc ('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 3099 matching lines...) Expand 10 before | Expand all | Expand 10 after
3110 return result.raw(); 3110 return result.raw();
3111 } 3111 }
3112 3112
3113 3113
3114 // Ensure that top level parsing of the class has been done. 3114 // Ensure that top level parsing of the class has been done.
3115 RawError* Class::EnsureIsFinalized(Thread* thread) const { 3115 RawError* Class::EnsureIsFinalized(Thread* thread) const {
3116 // Finalized classes have already been parsed. 3116 // Finalized classes have already been parsed.
3117 if (is_finalized()) { 3117 if (is_finalized()) {
3118 return Error::null(); 3118 return Error::null();
3119 } 3119 }
3120 ASSERT(thread->IsMutatorThread());
3120 ASSERT(thread != NULL); 3121 ASSERT(thread != NULL);
3121 const Error& error = Error::Handle( 3122 const Error& error = Error::Handle(
3122 thread->zone(), Compiler::CompileClass(*this)); 3123 thread->zone(), Compiler::CompileClass(*this));
3123 if (!error.IsNull()) { 3124 if (!error.IsNull()) {
3124 ASSERT(thread == Thread::Current()); 3125 ASSERT(thread == Thread::Current());
3125 if (thread->long_jump_base() != NULL) { 3126 if (thread->long_jump_base() != NULL) {
3126 Report::LongJump(error); 3127 Report::LongJump(error);
3127 UNREACHABLE(); 3128 UNREACHABLE();
3128 } 3129 }
3129 } 3130 }
(...skipping 18794 matching lines...) Expand 10 before | Expand all | Expand 10 after
21924 return tag_label.ToCString(); 21925 return tag_label.ToCString();
21925 } 21926 }
21926 21927
21927 21928
21928 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 21929 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
21929 Instance::PrintJSONImpl(stream, ref); 21930 Instance::PrintJSONImpl(stream, ref);
21930 } 21931 }
21931 21932
21932 21933
21933 } // namespace dart 21934 } // namespace dart
OLDNEW
« runtime/vm/compiler.cc ('K') | « runtime/vm/compiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698