v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include <wchar.h>
#include "v8.h"
#include "compiler.h"
#include "disasm.h"
#include "cctest.h"
Go to the source code of this file.
Functions | |
TEST (Inc) | |
TEST (Add) | |
TEST (Abs) | |
TEST (Sum) | |
TEST (Print) | |
TEST (Stuff) | |
TEST (UncaughtThrow) | |
TEST (C2JSFrames) | |
TEST (Regression236) | |
TEST (GetScriptLineNumber) | |
TEST (OptimizedCodeSharing) | |
TEST | ( | Inc | ) |
Definition at line 92 of file test-compiler.cc.
References CHECK_EQ, CcTest::i_isolate(), CcTest::InitializeVM(), and CcTest::isolate().
TEST | ( | Add | ) |
Definition at line 113 of file test-compiler.cc.
References CHECK_EQ, CcTest::i_isolate(), CcTest::InitializeVM(), and CcTest::isolate().
TEST | ( | Abs | ) |
Definition at line 133 of file test-compiler.cc.
References v8::internal::Abs(), CHECK_EQ, CcTest::i_isolate(), CcTest::InitializeVM(), and CcTest::isolate().
TEST | ( | Sum | ) |
Definition at line 154 of file test-compiler.cc.
References CHECK_EQ, CcTest::i_isolate(), CcTest::InitializeVM(), and CcTest::isolate().
TEST | ( | ) |
Definition at line 161 of file test-compiler.cc.
References Execution::Call(), CHECK, CcTest::i_isolate(), Handle< T >::is_null(), CcTest::isolate(), CcTest::NewContext(), and v8::internal::NULL.
TEST | ( | Stuff | ) |
Definition at line 178 of file test-compiler.cc.
References Execution::Call(), CHECK, CHECK_EQ, CcTest::i_isolate(), CcTest::InitializeVM(), Handle< T >::is_null(), CcTest::isolate(), and v8::internal::NULL.
TEST | ( | UncaughtThrow | ) |
Definition at line 211 of file test-compiler.cc.
References Execution::Call(), CHECK, CHECK_EQ, Isolate::context(), Context::global_object(), CcTest::InitializeVM(), Handle< T >::is_null(), CcTest::isolate(), v8::internal::NULL, and Isolate::pending_exception().
TEST | ( | C2JSFrames | ) |
Definition at line 233 of file test-compiler.cc.
References ARRAY_SIZE, Execution::Call(), String::cast(), CHECK, v8::internal::GetProperty(), Handle< T >::is_null(), CcTest::isolate(), CcTest::NewContext(), v8::internal::NULL, and STATIC_ASCII_VECTOR.
TEST | ( | Regression236 | ) |
Definition at line 274 of file test-compiler.cc.
References CHECK_EQ, Isolate::factory(), v8::internal::GetScriptLineNumber(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), CcTest::isolate(), and Factory::NewScript().
TEST | ( | GetScriptLineNumber | ) |
Definition at line 288 of file test-compiler.cc.
References Local< T >::Cast(), CHECK_EQ, Script::Compile(), Function::GetScriptLineNumber(), Context::Global(), CcTest::isolate(), OS::MemCopy(), and String::NewFromUtf8().
TEST | ( | OptimizedCodeSharing | ) |
Definition at line 317 of file test-compiler.cc.
References CHECK, CHECK_EQ, Context::Global(), CcTest::i_isolate(), CcTest::InitializeVM(), CcTest::isolate(), Integer::New(), String::NewFromUtf8(), Utils::OpenHandle(), and Isolate::use_crankshaft().