Use std::mt19937 instead of rand() function for Math.random() builtin (#207)

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
Patrick Kim 2019-04-23 15:26:39 +09:00 committed by yichoi
commit 0d2d0bdaf2
5 changed files with 12 additions and 5 deletions

View file

@ -81,8 +81,6 @@ int main(int argc, char* argv[])
setbuf(stderr, NULL);
#endif
srand(time(NULL));
Escargot::Heap::initialize();
Escargot::VMInstance* instance = new Escargot::VMInstance();
Escargot::Context* context = new Escargot::Context(instance);