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

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

Issue 1574213005: Report missing semicolons after function declarations (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/raw_object_snapshot.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_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 return reinterpret_cast<RawObject**>(&ptr()->previous_error_); 1464 return reinterpret_cast<RawObject**>(&ptr()->previous_error_);
1465 } 1465 }
1466 RawError* previous_error_; // May be null. 1466 RawError* previous_error_; // May be null.
1467 RawScript* script_; 1467 RawScript* script_;
1468 RawString* message_; 1468 RawString* message_;
1469 RawString* formatted_message_; // Incl. previous error's formatted message. 1469 RawString* formatted_message_; // Incl. previous error's formatted message.
1470 RawObject** to() { 1470 RawObject** to() {
1471 return reinterpret_cast<RawObject**>(&ptr()->formatted_message_); 1471 return reinterpret_cast<RawObject**>(&ptr()->formatted_message_);
1472 } 1472 }
1473 int32_t token_pos_; // Source position in script_. 1473 int32_t token_pos_; // Source position in script_.
1474 bool report_after_token_; // Report message at or after the token.
1474 int8_t kind_; // Of type LanguageError::Kind. 1475 int8_t kind_; // Of type LanguageError::Kind.
1475 }; 1476 };
1476 1477
1477 1478
1478 class RawUnhandledException : public RawError { 1479 class RawUnhandledException : public RawError {
1479 RAW_HEAP_OBJECT_IMPLEMENTATION(UnhandledException); 1480 RAW_HEAP_OBJECT_IMPLEMENTATION(UnhandledException);
1480 1481
1481 RawObject** from() { 1482 RawObject** from() {
1482 return reinterpret_cast<RawObject**>(&ptr()->exception_); 1483 return reinterpret_cast<RawObject**>(&ptr()->exception_);
1483 } 1484 }
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
2269 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2270 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2270 kTypedDataInt8ArrayViewCid + 15); 2271 kTypedDataInt8ArrayViewCid + 15);
2271 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2272 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2272 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2273 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2273 return (kNullCid - kTypedDataInt8ArrayCid); 2274 return (kNullCid - kTypedDataInt8ArrayCid);
2274 } 2275 }
2275 2276
2276 } // namespace dart 2277 } // namespace dart
2277 2278
2278 #endif // VM_RAW_OBJECT_H_ 2279 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698