TEST(MacroAssemblerIA32Success) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::ASCII, 4);
TEST(MacroAssemblerIA32Simple) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::ASCII, 4);
TEST(MacroAssemblerIA32SimpleUC16) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::UC16, 4);
TEST(MacroAssemblerIA32Backtrack) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::ASCII, 0);
TEST(MacroAssemblerIA32BackReference) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::ASCII, 3);
TEST(MacroAssemblerIA32AtStart) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::ASCII, 0);
TEST(MacroAssemblerIA32BackRefNoCase) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::ASCII, 4);
TEST(MacroAssemblerIA32Registers) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::ASCII, 5);
TEST(MacroAssemblerIA32StackOverflow) {
- V8::Initialize(NULL);
+ v8::V8::Initialize();
ContextInitializer initializer;
RegExpMacroAssemblerIA32 m(RegExpMacroAssemblerIA32::ASCII, 0);