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

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

Issue 24631003: Add proper API for creating private symbols wrt a library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: maintain dart2js coverage Created 7 years, 2 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/bootstrap_natives.h ('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 4809 matching lines...) Expand 10 before | Expand all | Expand 10 after
4820 4820
4821 static RawString* Transform(int32_t (*mapping)(int32_t ch), 4821 static RawString* Transform(int32_t (*mapping)(int32_t ch),
4822 const String& str, 4822 const String& str,
4823 Heap::Space space = Heap::kNew); 4823 Heap::Space space = Heap::kNew);
4824 4824
4825 static RawString* ToUpperCase(const String& str, 4825 static RawString* ToUpperCase(const String& str,
4826 Heap::Space space = Heap::kNew); 4826 Heap::Space space = Heap::kNew);
4827 static RawString* ToLowerCase(const String& str, 4827 static RawString* ToLowerCase(const String& str,
4828 Heap::Space space = Heap::kNew); 4828 Heap::Space space = Heap::kNew);
4829 4829
4830 static RawString* IdentifierPrettyName(const String& name);
4831 static RawString* IdentifierPrettyNameRetainPrivate(const String& name);
4832
4830 static bool EqualsIgnoringPrivateKey(const String& str1, 4833 static bool EqualsIgnoringPrivateKey(const String& str1,
4831 const String& str2); 4834 const String& str2);
4832 4835
4833 static RawString* NewFormatted(const char* format, ...) 4836 static RawString* NewFormatted(const char* format, ...)
4834 PRINTF_ATTRIBUTE(1, 2); 4837 PRINTF_ATTRIBUTE(1, 2);
4835 static RawString* NewFormattedV(const char* format, va_list args); 4838 static RawString* NewFormattedV(const char* format, va_list args);
4836 4839
4837 protected: 4840 protected:
4838 bool HasHash() const { 4841 bool HasHash() const {
4839 ASSERT(Smi::New(0) == NULL); 4842 ASSERT(Smi::New(0) == NULL);
(...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after
6254 6257
6255 6258
6256 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 6259 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
6257 intptr_t index) { 6260 intptr_t index) {
6258 return array.At((index * kEntryLength) + kTargetFunctionIndex); 6261 return array.At((index * kEntryLength) + kTargetFunctionIndex);
6259 } 6262 }
6260 6263
6261 } // namespace dart 6264 } // namespace dart
6262 6265
6263 #endif // VM_OBJECT_H_ 6266 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698