v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include "v8.h"
#include "log.h"
#include "log-utils.h"
#include "cpu-profiler.h"
#include "natives.h"
#include "v8threads.h"
#include "v8utils.h"
#include "cctest.h"
#include "vm-state-inl.h"
Go to the source code of this file.
Typedefs | |
typedef i::NativesCollection < i::TEST > | TestSources |
Functions | |
TEST (Issue23768) | |
TEST (LogCallbacks) | |
TEST (LogAccessorCallbacks) | |
TEST (EquivalenceOfLoggingAndTraversal) | |
typedef i::NativesCollection<i::TEST> TestSources |
Definition at line 428 of file test-log.cc.
TEST | ( | Issue23768 | ) |
Definition at line 302 of file test-log.cc.
References ExternalTwoByteString::cast(), CHECK, Context::Enter(), CcTest::i_isolate(), Handle< T >::IsEmpty(), CcTest::isolate(), Logger::LogCompiledFunctions(), Isolate::logger(), Context::New(), String::NewExternal(), String::NewFromUtf8(), NULL, Utils::OpenHandle(), and Script::Run().
TEST | ( | LogCallbacks | ) |
Definition at line 331 of file test-log.cc.
References CHECK, CHECK_NE, Vector< T >::Dispose(), v8::DontDelete, FunctionTemplate::GetFunction(), CcTest::isolate(), Vector< T >::length(), log, Logger::LogCompiledFunctions(), Local< T >::New(), FunctionTemplate::New(), Signature::New(), NULL, obj, FunctionTemplate::PrototypeTemplate(), v8::internal::ReadFile(), Template::Set(), FunctionTemplate::SetClassName(), OS::SNPrintF(), Vector< T >::start(), and V8PRIxPTR.
TEST | ( | LogAccessorCallbacks | ) |
Definition at line 384 of file test-log.cc.
References CHECK, CHECK_NE, Vector< T >::Dispose(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), Vector< T >::length(), log, Logger::LogAccessorCallbacks(), Local< T >::New(), FunctionTemplate::New(), NULL, obj, v8::internal::ReadFile(), ObjectTemplate::SetAccessor(), FunctionTemplate::SetClassName(), OS::SNPrintF(), Vector< T >::start(), and V8PRIxPTR.
TEST | ( | EquivalenceOfLoggingAndTraversal | ) |
Definition at line 433 of file test-log.cc.
References CHECK, CHECK_NE, Heap::CollectAllGarbage(), NativesCollection< type >::GetScriptsSource(), CcTest::heap(), Handle< T >::IsEmpty(), CcTest::isolate(), Value::IsTrue(), Heap::kMakeHeapIterableMask, String::kNormalString, Vector< T >::length(), log, Logger::LogCompiledFunctions(), String::NewFromUtf8(), NULL, v8::internal::ReadFile(), Script::Run(), Vector< T >::start(), Logger::StopProfiler(), Logger::StringEvent(), and Value::ToString().