v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include "v8.h"
#include "cctest.h"
#include "compiler.h"
#include "execution.h"
#include "isolate.h"
Go to the source code of this file.
Functions | |
void | SetSeeds (Handle< ByteArray > seeds, uint32_t state0, uint32_t state1) |
void | TestSeeds (Handle< JSFunction > fun, Handle< Context > context, uint32_t state0, uint32_t state1) |
TEST (CrankshaftRandom) | |
Definition at line 42 of file test-random.cc.
References v8::internal::kBitsPerByte.
Referenced by TEST(), and TestSeeds().
TEST | ( | CrankshaftRandom | ) |
Definition at line 72 of file test-random.cc.
References Execution::Call(), HeapNumber::cast(), JSFunction::cast(), String::cast(), CHECK, CHECK_NE, FACTORY, Handle< T >::IsEmpty(), Context::New(), v8::internal::NULL, SetSeeds(), TestSeeds(), V8::UseCrankshaft(), and HeapNumber::value().
void TestSeeds | ( | Handle< JSFunction > | fun, |
Handle< Context > | context, | ||
uint32_t | state0, | ||
uint32_t | state1 | ||
) |
Definition at line 50 of file test-random.cc.
References Execution::Call(), HeapNumber::cast(), CHECK, CHECK_EQ, V8::FillHeapNumberWithRandom(), v8::internal::NULL, SetSeeds(), and HeapNumber::value().
Referenced by TEST().