diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-10-22 15:14:25 -0700 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-10-23 09:17:31 -0700 |
commit | a53c763c16eeabb0901a05dbcf38a72fa96d2f26 (patch) | |
tree | 309bf250e1521cedf0e945d7a7629db511e64498 /deps/v8/test/cctest/test-strings.cc | |
parent | 54910044b33a6405c72ad085915a55c575c027fc (diff) | |
download | node-new-a53c763c16eeabb0901a05dbcf38a72fa96d2f26.tar.gz |
v8: upgrade 3.21.18.3
Diffstat (limited to 'deps/v8/test/cctest/test-strings.cc')
-rw-r--r-- | deps/v8/test/cctest/test-strings.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/test/cctest/test-strings.cc b/deps/v8/test/cctest/test-strings.cc index 726188d917..9049df1b72 100644 --- a/deps/v8/test/cctest/test-strings.cc +++ b/deps/v8/test/cctest/test-strings.cc @@ -41,9 +41,9 @@ #include "zone-inl.h" // Adapted from http://en.wikipedia.org/wiki/Multiply-with-carry -class RandomNumberGenerator { +class MyRandomNumberGenerator { public: - RandomNumberGenerator() { + MyRandomNumberGenerator() { init(); } @@ -133,7 +133,7 @@ class AsciiResource: public v8::String::ExternalAsciiStringResource, static void InitializeBuildingBlocks(Handle<String>* building_blocks, int bb_length, bool long_blocks, - RandomNumberGenerator* rng, + MyRandomNumberGenerator* rng, Zone* zone) { // A list of pointers that we don't have any interest in cleaning up. // If they are reachable from a root then leak detection won't complain. @@ -276,7 +276,7 @@ class ConsStringGenerationData { // Cached data. Handle<String> building_blocks_[kNumberOfBuildingBlocks]; String* empty_string_; - RandomNumberGenerator rng_; + MyRandomNumberGenerator rng_; // Stats. ConsStringStats stats_; unsigned early_terminations_; |