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

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

Issue 1299493007: Rework service extensions to be safe (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/service.cc ('k') | sdk/lib/_internal/js_runtime/lib/developer_patch.dart » ('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_SYMBOLS_H_ 5 #ifndef VM_SYMBOLS_H_
6 #define VM_SYMBOLS_H_ 6 #define VM_SYMBOLS_H_
7 7
8 #include "vm/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/snapshot_ids.h" 10 #include "vm/snapshot_ids.h"
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 V(position_registers, ":position_registers") \ 390 V(position_registers, ":position_registers") \
391 V(string_param, ":string_param") \ 391 V(string_param, ":string_param") \
392 V(start_index_param, ":start_index_param") \ 392 V(start_index_param, ":start_index_param") \
393 V(clear, "clear") \ 393 V(clear, "clear") \
394 V(_wordCharacterMap, "_wordCharacterMap") \ 394 V(_wordCharacterMap, "_wordCharacterMap") \
395 V(print, "print") \ 395 V(print, "print") \
396 V(last, "last") \ 396 V(last, "last") \
397 V(removeLast, "removeLast") \ 397 V(removeLast, "removeLast") \
398 V(add, "add") \ 398 V(add, "add") \
399 V(ConstructorClosurePrefix, "new#") \ 399 V(ConstructorClosurePrefix, "new#") \
400 V(_scheduleExtension, "_scheduleExtension") \ 400 V(_runExtension, "_runExtension") \
401 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \
401 402
402 403
403 // Contains a list of frequently used strings in a canonicalized form. This 404 // Contains a list of frequently used strings in a canonicalized form. This
404 // list is kept in the vm_isolate in order to share the copy across isolates 405 // list is kept in the vm_isolate in order to share the copy across isolates
405 // without having to maintain copies in each isolate. 406 // without having to maintain copies in each isolate.
406 class Symbols : public AllStatic { 407 class Symbols : public AllStatic {
407 public: 408 public:
408 enum { kMaxOneCharCodeSymbol = 0xFF }; 409 enum { kMaxOneCharCodeSymbol = 0xFF };
409 410
410 // List of strings that are pre created in the vm isolate. 411 // List of strings that are pre created in the vm isolate.
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 friend class SnapshotReader; 642 friend class SnapshotReader;
642 friend class SnapshotWriter; 643 friend class SnapshotWriter;
643 friend class ApiMessageReader; 644 friend class ApiMessageReader;
644 645
645 DISALLOW_COPY_AND_ASSIGN(Symbols); 646 DISALLOW_COPY_AND_ASSIGN(Symbols);
646 }; 647 };
647 648
648 } // namespace dart 649 } // namespace dart
649 650
650 #endif // VM_SYMBOLS_H_ 651 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/service.cc ('k') | sdk/lib/_internal/js_runtime/lib/developer_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698