Index: runtime/vm/native_symbol.h |
diff --git a/runtime/vm/random.h b/runtime/vm/native_symbol.h |
similarity index 52% |
copy from runtime/vm/random.h |
copy to runtime/vm/native_symbol.h |
index c1c69d63efed579195a8314f3126327415c2526f..52151b26a241bf9357ce86d6251edb8577cb5b84 100644 |
--- a/runtime/vm/random.h |
+++ b/runtime/vm/native_symbol.h |
@@ -2,30 +2,25 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-#ifndef VM_RANDOM_H_ |
-#define VM_RANDOM_H_ |
+#ifndef VM_NATIVE_SYMBOL_H_ |
+#define VM_NATIVE_SYMBOL_H_ |
-#include "vm/globals.h" |
#include "vm/allocation.h" |
+#include "vm/globals.h" |
namespace dart { |
-class Random : public ValueObject { |
- public: |
- Random(); |
- ~Random(); |
- |
- uint32_t NextUInt32(); |
+class Mutex; |
- private: |
- void NextState(); |
- |
- uint64_t _state; |
- |
- DISALLOW_ALLOCATION(); |
- DISALLOW_COPY_AND_ASSIGN(Random); |
+class NativeSymbolResolver : public AllStatic { |
+ public: |
+ static void InitOnce(); |
+ static void ShutdownOnce(); |
+ static char* LookupSymbolName(uintptr_t pc); |
+ static void FreeSymbolName(char* name); |
}; |
+ |
} // namespace dart |
-#endif // VM_RANDOM_H_ |
+#endif // VM_NATIVE_SYMBOL_H_ |