mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
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:
parent
01ca240e83
commit
0d2d0bdaf2
5 changed files with 12 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue