Lines Matching refs:v8
1 // Copyright 2010 the V8 project authors. All rights reserved.
28 #include "v8.h"
51 #include "../include/v8-profiler.h"
52 #include "../include/v8-testing.h"
68 namespace v8 {
93 i::V8::FatalProcessOutOfMemory(NULL); \
105 if (v8::Locker::IsActive()) { \
109 "Entering the V8 API without proper locking in place"); \
136 i::V8::FatalProcessOutOfMemory(location, false);
140 // When V8 cannot allocated memory FatalProcessOutOfMemory is called.
142 void i::V8::FatalProcessOutOfMemory(const char* location, bool take_snapshot) {
196 i::V8::SetFatalError();
210 i::V8::SetFatalError();
215 bool V8::IsDead() {
216 return i::V8::IsDead();
229 callback(location, "V8 is no longer usable");
255 && i::V8::IsDead() ? ReportV8Dead(location) : false;
269 static inline bool EmptyCheck(const char* location, v8::Handle<v8::Data> obj) {
274 static inline bool EmptyCheck(const char* location, const v8::Data* obj) {
283 return i::V8::Initialize(NULL);
293 return ApiCheck(InitializeHelper(), location, "Error initializing V8");
314 void V8::SetFatalErrorHandler(FatalErrorCallback that) {
328 void V8::SetFlagsFromString(const char* str, int length) {
333 void V8::SetFlagsFromCommandLine(int* argc, char** argv, bool remove_flags) {
338 v8::Handle<Value> ThrowException(v8::Handle<v8::Value> value) {
340 if (IsDeadCheck(isolate, "v8::ThrowException()")) {
341 return v8::Handle<Value>();
351 return v8::Undefined();
385 v8::Handle<Primitive> Undefined() {
387 if (!EnsureInitializedForIsolate(isolate, "v8::Undefined()")) {
388 return v8::Handle<v8::Primitive>();
390 return v8::Handle<Primitive>(ToApi<Primitive>(
395 v8::Handle<Primitive> Null() {
397 if (!EnsureInitializedForIsolate(isolate, "v8::Null()")) {
398 return v8::Handle<v8::Primitive>();
400 return v8::Handle<Primitive>(
405 v8::Handle<Boolean> True() {
407 if (!EnsureInitializedForIsolate(isolate, "v8::True()")) {
408 return v8::Handle<Boolean>();
410 return v8::Handle<Boolean>(
415 v8::Handle<Boolean> False() {
417 if (!EnsureInitializedForIsolate(isolate, "v8::False()")) {
418 return v8::Handle<Boolean>();
420 return v8::Handle<Boolean>(
454 i::Object** V8::GlobalizeReference(i::Object** obj) {
456 if (IsDeadCheck(isolate, "V8
464 void V8::MakeWeak(i::Object** object, void* parameters,
473 void V8::ClearWeak(i::Object** obj) {
480 bool V8::IsGlobalNearDeath(i::Object** obj) {
488 bool V8::IsGlobalWeak(i::Object** obj) {
496 void V8::DisposeGlobal(i::Object** obj) {
509 v8::ImplementationUtilities::HandleScopeData* current =
528 v8::ImplementationUtilities::HandleScopeData* current =
566 if (IsDeadCheck(isolate, "v8::Context::Enter()")) return;
583 "v8::Context::Exit()",
595 void Context::SetData(v8::Handle<String> data) {
598 if (IsDeadCheck(isolate, "v8::Context::SetData()")) return;
612 v8::Local<v8::Value> Context::GetData() {
615 if (IsDeadCheck(isolate, "v8::Context::GetData()")) {
616 return v8::Local<Value>();
635 i::Object** v8::HandleScope::RawClose(i::Object** value) {
637 "v8::HandleScope::Close()",
671 EnsureInitializedForIsolate(isolate, "v8::Nowhere");
734 void Template::Set(v8::Handle<String> name, v8::Handle<Data> value,
735 v8::PropertyAttribute attribute) {
737 if (IsDeadCheck(isolate, "v8::Template::Set()")) return;
748 array.add(Utils::OpenHandle(*v8::Integer::New(attribute)));
762 if (IsDeadCheck(isolate, "v8::FunctionTemplate::PrototypeTemplate()")) {
775 void FunctionTemplate::Inherit(v8::Handle<FunctionTemplate> value) {
777 if (IsDeadCheck(isolate, "v8::FunctionTemplate::Inherit()")) return;
784 v8::Handle<Value> data, v8::Handle<Signature> signature) {
786 EnsureInitializedForIsolate(isolate, "v8::FunctionTemplate::New()");
798 if (data.IsEmpty()) data = v8::Undefined();
813 EnsureInitializedForIsolate(isolate, "v8::Signature::New()");
841 EnsureInitializedForIsolate(isolate, "v8::TypeSwitch::New()");
856 int TypeSwitch::match(v8::Handle<Value> value) {
877 v8::Handle<Value> data) {
879 if (IsDeadCheck(isolate, "v8::FunctionTemplate::SetCallHandler()")) return;
887 if (data.IsEmpty()) data = v8::Undefined();
894 v8::Handle<String> name,
897 v8::Handle<Value> data,
898 v8::AccessControl settings,
899 v8::PropertyAttribute attributes) {
904 if (data.IsEmpty()) data = v8::Undefined();
916 v8::Handle<String> name,
919 v8::Handle<Value> data,
920 v8::AccessControl settings,
921 v8::PropertyAttribute attributes) {
924 "v8::FunctionTemplate::AddInstancePropertyAccessor()")) {
945 if (IsDeadCheck(isolate, "v8::FunctionTemplate::InstanceTemplate()")
946 || EmptyCheck("v8::FunctionTemplate::InstanceTemplate()", this))
951 ObjectTemplate::New(v8::Handle<FunctionTemplate>(this));
962 if (IsDeadCheck(isolate, "v8::FunctionTemplate::SetClassName()")) return;
970 if (IsDeadCheck(isolate, "v8
987 "v8::FunctionTemplate::SetNamedInstancePropertyHandler()")) {
1003 if (data.IsEmpty()) data = v8::Undefined();
1018 "v8::FunctionTemplate::SetIndexedInstancePropertyHandler()")) {
1034 if (data.IsEmpty()) data = v8::Undefined();
1045 "v8::FunctionTemplate::SetInstanceCallAsFunctionHandler()")) {
1055 if (data.IsEmpty()) data = v8::Undefined();
1070 v8::Handle<FunctionTemplate> constructor) {
1072 if (IsDeadCheck(isolate, "v8::ObjectTemplate::New()")) {
1075 EnsureInitializedForIsolate(isolate, "v8::ObjectTemplate::New()");
1102 void ObjectTemplate::SetAccessor(v8::Handle<String> name,
1105 v8::Handle<Value> data,
1109 if (IsDeadCheck(isolate, "v8::ObjectTemplate::SetAccessor()")) return;
1132 if (IsDeadCheck(isolate, "v8::ObjectTemplate::SetNamedPropertyHandler()")) {
1152 if (IsDeadCheck(isolate, "v8::ObjectTemplate::MarkAsUndetectable()")) return;
1169 if (IsDeadCheck(isolate, "v8::ObjectTemplate::SetAccessCheckCallbacks()")) {
1184 if (data.IsEmpty()) data = v8::Undefined();
1203 if (IsDeadCheck(isolate, "v8::ObjectTemplate::SetIndexedPropertyHandler()")) {
1225 "v8::ObjectTemplate::SetCallAsFunctionHandler()")) {
1240 "v8::ObjectTemplate::InternalFieldCount()")) {
1249 if (IsDeadCheck(isolate, "v8::ObjectTemplate::SetInternalFieldCount()")) {
1253 "v8::ObjectTemplate::SetInternalFieldCount()",
1278 ScriptData* ScriptData::PreCompile(v8::Handle<String> source) {
1315 Local<Script> Script::New(v8::Handle<String> source,
1316 v8::ScriptOrigin* origin,
1317 v8::ScriptData* pre_data,
1318 v8::Handle<String> script_data) {
1320 ON_BAILOUT(isolate, "v8::Script::New()", return Local<Script>());
1362 Local<Script> Script::New(v8::Handle<String> source,
1363 v8::Handle<Value> file_name) {
1369 Local<Script> Script::Compile(v8::Handle<String> source,
1370 v8::ScriptOrigin* origin,
1371 v8::ScriptData* pre_data,
1372 v8::Handle<String> script_data) {
1374 ON_BAILOUT(isolate, "v8::Script::Compile()", return Local<Script>());
1391 Local<Script> Script::Compile(v8::Handle<String> source,
1392 v8::Handle<Value> file_name,
1393 v8::Handle<String> script_data) {
1401 ON_BAILOUT(isolate, "v8::Script::Run()", return Local<Value>());
1446 ON_BAILOUT(isolate, "v8::Script::Id()", return Local<Value>());
1461 void Script::SetData(v8::Handle<String> data) {
1463 ON_BAILOUT(isolate, "v8::Script::SetData()", return);
1478 v8::TryCatch::TryCatch()
1490 v8::TryCatch::~TryCatch() {
1493 v8::HandleScope scope;
1494 v8::Local<v8::Value> exc = v8::Local<v8::Value>::New(Exception());
1496 v8::ThrowException(exc);
1503 bool v8::TryCatch::HasCaught() const {
1508 bool v8::TryCatch::CanContinue() const {
1513 v8::Handle<v8::Value> v8::TryCatch::ReThrow() {
1514 if (!HasCaught()) return v8::Local<v8::Value>();
1516 return v8::Undefined();
1520 v8::Local<Value> v8::TryCatch::Exception() const {
1524 return v8::Utils::ToLocal(i::Handle<i::Object>(exception));
1526 return v8::Local<Value>();
1531 v8::Local<Value> v8::TryCatch::StackTrace() const {
1534 if (!raw_obj->IsJSObject()) return v8::Local<Value>();
1535 v8::HandleScope scope;
1539 return v8::Local<Value>();
1540 return scope.Close(v8::Utils::ToLocal(i::GetProperty(obj, name)));
1542 return v8::Local<Value>();
1547 v8::Local<v8::Message> v8::TryCatch::Message() const {
1550 return v8::Utils::MessageToLocal(i::Handle<i::Object>(message));
1552 return v8::Local<v8::Message>();
1557 void v8::TryCatch::Reset() {
1563 void v8::TryCatch::SetVerbose(bool value) {
1568 void v8::TryCatch::SetCaptureMessage(bool value) {
1578 ON_BAILOUT(isolate, "v8::Message::Get()", return Local<String>());
1588 v8::Handle<Value> Message::GetScriptResourceName() const {
1590 if (IsDeadCheck(isolate, "v8::Message::GetScriptResourceName()")) {
1605 v8::Handle<Value> Message::GetScriptData() const {
1607 if (IsDeadCheck(isolate, "v8::Message::GetScriptResourceData()")) {
1622 v8::Handle<v8::StackTrace> Message::GetStackTrace() const {
1624 if (IsDeadCheck(isolate, "v8::Message::GetStackTrace()")) {
1625 return Local<v8::StackTrace>();
1632 if (!stackFramesObj->IsJSArray()) return v8::Handle<v8::StackTrace>();
1670 ON_BAILOUT(isolate, "v8::Message::GetLineNumber()", return kNoLineNumberInfo);
1685 if (IsDeadCheck(isolate, "v8::Message::GetStartPosition()")) return 0;
1696 if (IsDeadCheck(isolate, "v8::Message::GetEndPosition()")) return 0;
1707 if (IsDeadCheck(isolate, "v8::Message::GetStartColumn()")) {
1725 if (IsDeadCheck(isolate, "v8::Message::GetEndColumn()")) return kNoColumnInfo;
1745 ON_BAILOUT(isolate, "v8::Message::GetSourceLine()", return Local<String>());
1752 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::String>());
1763 if (IsDeadCheck(isolate, "v8::Message::PrintCurrentStackTrace()")) return;
1773 if (IsDeadCheck(isolate, "v8::StackTrace::GetFrame()")) {
1787 if (IsDeadCheck(isolate, "v8::StackTrace::GetFrameCount()")) return -1;
1795 if (IsDeadCheck(isolate, "v8::StackTrace::AsArray()")) Local<Array>();
1804 if (IsDeadCheck(isolate, "v8::StackTrace::CurrentStackTrace()")) {
1818 if (IsDeadCheck(isolate, "v8::StackFrame::GetLineNumber()")) {
1834 if (IsDeadCheck(isolate, "v8::StackFrame::GetColumn()")) {
1850 if (IsDeadCheck(isolate, "v8::StackFrame::GetScriptName()")) {
1866 if (IsDeadCheck(isolate, "v8::StackFrame::GetScriptNameOrSourceURL()")) {
1882 if (IsDeadCheck(isolate, "v8::StackFrame::GetFunctionName()")) {
1898 if (IsDeadCheck(isolate, "v8::StackFrame::IsEval()")) return false;
1909 if (IsDeadCheck(isolate, "v8::StackFrame::IsConstructor()")) return false;
1921 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsUndefined()")) {
1929 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsNull()")) return false;
1935 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsTrue()")) return false;
1941 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsFalse()")) return false;
1947 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsFunction()")) {
1955 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsString()")) return false;
1963 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsArray()")) return false;
1969 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsObject()")) return false;
1975 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsNumber()")) return false;
1981 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsBoolean()")) {
1989 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsExternal()")) {
1997 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsInt32()")) return false;
2009 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsUint32()")) return false;
2022 if (IsDeadCheck(isolate, "v8::Value::IsDate()")) return false;
2029 if (IsDeadCheck(i::Isolate::Current(), "v8::Value::IsRegExp()")) return false;
2042 if (IsDeadCheck(isolate, "v8::Value::ToString()")) {
2062 if (IsDeadCheck(isolate, "v8::Value::ToDetailString()")) {
2075 Local<v8::Object> Value::ToObject() const {
2082 if (IsDeadCheck(isolate, "v8::Value::ToObject()")) {
2083 return Local<v8::Object>();
2089 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Object>());
2091 return Local<v8::Object>(ToApi<Object>(val));
2101 if (IsDeadCheck(isolate, "v8::Value::ToBoolean()")) {
2119 if (IsDeadCheck(isolate, "v8::Value::ToNumber()")) {
2139 if (IsDeadCheck(isolate, "v8::Value::ToInteger()")) return Local<Integer>();
2150 void External::CheckCast(v8::Value* that) {
2151 if (IsDeadCheck(i::Isolate::Current(), "v8::External::Cast()")) return;
2154 "v8::External::Cast()",
2159 void v8::Object::CheckCast(Value* that) {
2160 if (IsDeadCheck(i::Isolate::Current(), "v8::Object::Cast()")) return;
2163 "v8::Object::Cast()",
2168 void v8::Function::CheckCast(Value* that) {
2169 if (IsDeadCheck(i::Isolate::Current(), "v8::Function::Cast()")) return;
2172 "v8::Function::Cast()",
2177 void v8::String::CheckCast(v8::Value* that) {
2178 if (IsDeadCheck(i::Isolate::Current(), "v8::String::Cast()")) return;
2181 "v8::String::Cast()",
2186 void v8::Number::CheckCast(v8::Value* that) {
2187 if (IsDeadCheck(i::Isolate::Current(), "v8::Number::Cast()")) return;
2190 "v8::Number::Cast()",
2195 void v8::Integer::CheckCast(v8::Value* that) {
2196 if (IsDeadCheck(i::Isolate::Current(), "v8::Integer::Cast()")) return;
2199 "v8::Integer::Cast()",
2204 void v8::Array::CheckCast(Value* that) {
2205 if (IsDeadCheck(i::Isolate::Current(), "v8::Array::Cast()")) return;
2208 "v8::Array::Cast()",
2213 void v8::Date::CheckCast(v8::Value* that) {
2215 if (IsDeadCheck(isolate, "v8::Date::Cast()")) return;
2218 "v8::Date::Cast()",
2223 void v8::RegExp::CheckCast(v8::Value* that) {
2224 if (IsDeadCheck(i::Isolate::Current(), "v8::RegExp::Cast()")) return;
2227 "v8::RegExp::Cast()",
2238 if (IsDeadCheck(isolate, "v8::Value::BooleanValue()")) return false;
2254 if (IsDeadCheck(isolate, "v8::Value::NumberValue()")) {
2274 if (IsDeadCheck(isolate, "v8::Value::IntegerValue()")) return 0;
2296 if (IsDeadCheck(isolate, "v8::Value::ToInt32()")) return Local<Int32>();
2314 if (IsDeadCheck(isolate, "v8::Value::ToUint32()")) return Local<Uint32>();
2332 if (IsDeadCheck(isolate, "v8::Value::ToArrayIndex()")) return Local<Uint32>();
2360 if (IsDeadCheck(isolate, "v8::Value::Int32Value()")) return 0;
2378 if (IsDeadCheck(isolate, "v8::Value::Equals()")
2379 || EmptyCheck("v8::Value::Equals()", this)
2380 || EmptyCheck("v8::Value::Equals()", that)) {
2404 if (IsDeadCheck(isolate, "v8::Value::StrictEquals()")
2405 || EmptyCheck("v8::Value::StrictEquals()", this)
2406 || EmptyCheck("v8::Value::StrictEquals()", that)) {
2440 if (IsDeadCheck(isolate, "v8
2456 bool v8::Object::Set(v8::Handle<Value> key, v8::Handle<Value> value,
2457 v8::PropertyAttribute attribs) {
2459 ON_BAILOUT(isolate, "v8::Object::Set()", return false);
2478 bool v8::Object::Set(uint32_t index, v8::Handle<Value> value) {
2480 ON_BAILOUT(isolate, "v8::Object::Set()", return false);
2497 bool v8::Object::ForceSet(v8::Handle<Value> key,
2498 v8::Handle<Value> value,
2499 v8::PropertyAttribute attribs) {
2501 ON_BAILOUT(isolate, "v8::Object::ForceSet()", return false);
2519 bool v8::Object::ForceDelete(v8::Handle<Value> key) {
2521 ON_BAILOUT(isolate, "v8::Object::ForceDelete()", return false);
2539 Local<Value> v8::Object::Get(v8::Handle<Value> key) {
2541 ON_BAILOUT(isolate, "v8::Object::Get()", return Local<v8::Value>());
2553 Local<Value> v8::Object::Get(uint32_t index) {
2555 ON_BAILOUT(isolate, "v8::Object::Get()", return Local<v8::Value>());
2566 Local<Value> v8::Object::GetPrototype() {
2568 ON_BAILOUT(isolate, "v8::Object::GetPrototype()",
2569 return Local<v8::Value>());
2577 bool v8::Object::SetPrototype(Handle<Value> value) {
2579 ON_BAILOUT(isolate, "v8::Object::SetPrototype()", return false);
2594 Local<Object> v8::Object::FindInstanceInPrototypeChain(
2595 v8::Handle<FunctionTemplate> tmpl) {
2598 "v8::Object::FindInstanceInPrototypeChain()",
2599 return Local<v8::Object>());
2612 Local<Array> v8::Object::GetPropertyNames() {
2614 ON_BAILOUT(isolate, "v8::Object::GetPropertyNames()",
2615 return Local<v8::Array>());
2631 Local<String> v8::Object::ObjectProtoToString() {
2633 ON_BAILOUT(isolate, "v8::Object::ObjectProtoToString()",
2634 return Local<v8::String>());
2646 return v8::String::New("[object ]");
2651 return v8::String::New("[object Object]");
2667 memcpy(ptr, prefix, prefix_len * v8::internal::kCharSize);
2675 memcpy(ptr, postfix, postfix_len * v8::internal::kCharSize);
2678 Local<String> result = v8::String::New(buf.start(), buf_len);
2685 Local<String> v8::Object::GetConstructorName() {
2687 ON_BAILOUT(isolate, "v8::Object::GetConstructorName()",
2688 return Local<v8::String>());
2696 bool v8::Object::Delete(v8::Handle<String> key) {
2698 ON_BAILOUT(isolate, "v8::Object::Delete()", return false);
2707 bool v8::Object::Has(v8::Handle<String> key) {
2709 ON_BAILOUT(isolate, "v8::Object::Has()", return false);
2717 bool v8::Object::Delete(uint32_t index) {
2719 ON_BAILOUT(isolate, "v8::Object::DeleteProperty()",
2728 bool v8::Object::Has(uint32_t index) {
2730 ON_BAILOUT(isolate, "v8::Object::HasProperty()", return false);
2739 v8::Handle<Value> data,
2743 ON_BAILOUT(isolate, "v8::Object::SetAccessor()", return false);
2754 bool v8::Object::HasRealNamedProperty(Handle<String> key) {
2756 ON_BAILOUT(isolate, "v8::Object::HasRealNamedProperty()",
2763 bool v8::Object::HasRealIndexedProperty(uint32_t index) {
2765 "v8::Object::HasRealIndexedProperty()",
2771 bool v8::Object::HasRealNamedCallbackProperty(Handle<String> key) {
2774 "v8::Object::HasRealNamedCallbackProperty()",
2782 bool v8::Object::HasNamedLookupInterceptor() {
2784 ON_BAILOUT(isolate, "v8::Object::HasNamedLookupInterceptor()",
2790 bool v8::Object::HasIndexedLookupInterceptor() {
2792 ON_BAILOUT(isolate, "v8::Object::HasIndexedLookupInterceptor()",
2818 Local<Value> v8::Object::GetRealNamedPropertyInPrototypeChain(
2822 "v8::Object::GetRealNamedPropertyInPrototypeChain()",
2833 Local<Value> v8::Object::GetRealNamedProperty(Handle<String> key) {
2835 ON_BAILOUT(isolate, "v8::Object::GetRealNamedProperty()",
2849 void v8::Object::TurnOnAccessCheck() {
2851 ON_BAILOUT(isolate, "v8::Object::TurnOnAccessCheck()", return);
2867 bool v8::Object::IsDirty() {
2872 Local<v8::Object> v8::Object::Clone() {
2874 ON_BAILOUT(isolate, "v8::Object::Clone()", return Local<Object>());
2901 Local<v8::Context> v8::Object::CreationContext() {
2904 v8::Object::CreationContext()", return Local<v8::Context>());
2912 int v8::Object::GetIdentityHash() {
2914 ON_BAILOUT(isolate, "v8::Object::GetIdentityHash()", return 0);
2940 hash_value = i::V8::Random(self->GetIsolate()) & i::Smi::kMaxValue;
2954 bool v8::Object::SetHiddenValue(v8::Handle<v8::String> key,
2955 v8::Handle<v8::Value> value) {
2957 ON_BAILOUT(isolate, "v8::Object::SetHiddenValue()", return false);
2977 v8::Local<v8::Value> v8::Object::GetHiddenValue(v8::Handle<v8::String> key) {
2979 ON_BAILOUT(isolate, "v8::Object::GetHiddenValue()",
2980 return Local<v8::Value>());
2985 return v8::Local<v8::Value>();
2991 EXCEPTION_BAILOUT_CHECK(isolate, v8::Local<v8::Value>());
2993 return v8::Local<v8::Value>();
2999 bool v8::Object::DeleteHiddenValue(v8::Handle<v8::String> key) {
3001 ON_BAILOUT(isolate, "v8::DeleteHiddenValue()", return false);
3047 void v8::Object::SetIndexedPropertiesToPixelData(uint8_t* data, int length) {
3049 ON_BAILOUT(isolate, "v8::SetElementsToPixelData()", return);
3053 "v8::Object::SetIndexedPropertiesToPixelData()",
3059 "v8::Object::SetIndexedPropertiesToPixelData()",
3067 bool v8::Object::HasIndexedPropertiesInPixelData() {
3069 ON_BAILOUT(self->GetIsolate(), "v8::HasIndexedPropertiesInPixelData()",
3075 uint8_t* v8::Object::GetIndexedPropertiesPixelData() {
3077 ON_BAILOUT(self->GetIsolate(), "v8::GetIndexedPropertiesPixelData()",
3088 int v8::Object::GetIndexedPropertiesPixelDataLength() {
3090 ON_BAILOUT(self->GetIsolate(), "v8::GetIndexedPropertiesPixelDataLength()",
3099 void v8::Object::SetIndexedPropertiesToExternalArrayData(
3104 ON_BAILOUT(isolate, "v8::SetIndexedPropertiesToExternalArrayData()", return);
3108 "v8::Object::SetIndexedPropertiesToExternalArrayData()",
3114 "v8::Object::SetIndexedPropertiesToExternalArrayData()",
3122 bool v8::Object::HasIndexedPropertiesInExternalArrayData() {
3125 "v8::HasIndexedPropertiesInExternalArrayData()",
3131 void* v8::Object::GetIndexedPropertiesExternalArrayData() {
3134 "v8::GetIndexedPropertiesExternalArrayData()",
3144 ExternalArrayType v8::Object::GetIndexedPropertiesExternalArrayDataType() {
3147 "v8::GetIndexedPropertiesExternalArrayDataType()",
3172 int v8::Object::GetIndexedPropertiesExternalArrayDataLength() {
3175 "v8::GetIndexedPropertiesExternalArrayDataLength()",
3185 Local<v8::Object> Function::NewInstance() const {
3190 Local<v8::Object> Function::NewInstance(int argc,
3191 v8::Handle<v8::Value> argv[]) const {
3193 ON_BAILOUT(isolate, "v8::Function::NewInstance()",
3194 return Local<v8::Object>());
3199 STATIC_ASSERT(sizeof(v8::Handle<v8::Value>) == sizeof(i::Object**));
3204 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Object>());
3209 Local<v8::Value> Function::Call(v8::Handle<v8::Object> recv, int argc,
3210 v8::Handle<v8::Value> argv[]) {
3212 ON_BAILOUT(isolate, "v8::Function::Call()", return Local<v8::Value>());
3220 STATIC_ASSERT(sizeof(v8::Handle<v8::Value>) == sizeof(i::Object**));
3233 void Function::SetName(v8::Handle<v8::String> name) {
3251 v8::ScriptOrigin origin(
3253 v8::Integer::New(script->line_offset()->value()),
3254 v8::Integer::New(script->column_offset()->value()));
3257 return v8::ScriptOrigin(Handle<Value>());
3276 if (IsDeadCheck(str->GetIsolate(), "v8::String::Length()")) return 0;
3283 if (IsDeadCheck(str->GetIsolate(), "v8::String::Utf8Length()")) return 0;
3293 if (IsDeadCheck(isolate, "v8::String::WriteUtf8()")) return 0;
3350 if (IsDeadCheck(isolate, "v8::String::WriteAscii()")) return 0;
3384 if (IsDeadCheck(isolate, "v8::String::Write()")) return 0;
3407 bool v8::String::IsExternal() const {
3409 if (IsDeadCheck(str->GetIsolate(), "v8::String::IsExternal()")) {
3412 EnsureInitializedForIsolate(str->GetIsolate(), "v8::String::IsExternal()");
3417 bool v8::String::IsExternalAscii() const {
3419 if (IsDeadCheck(str->GetIsolate(), "v8::String::IsExternalAscii()")) {
3426 void v8::String::VerifyExternalStringResource(
3427 v8::String::ExternalStringResource* value) const {
3429 v8::String::ExternalStringResource* expected;
3440 v8::String::ExternalAsciiStringResource*
3441 v8::String::GetExternalAsciiStringResource() const {
3444 "v8::String::GetExternalAsciiStringResource()")) {
3457 if (IsDeadCheck(i::Isolate::Current(), "v8::Number::Value()")) return 0;
3464 if (IsDeadCheck(i::Isolate::Current(), "v8::Boolean::Value()")) return false;
3471 if (IsDeadCheck(i::Isolate::Current(), "v8::Integer::Value()")) return 0;
3482 if (IsDeadCheck(i::Isolate::Current(), "v8::Int32::Value()")) return 0;
3493 if (IsDeadCheck(i::Isolate::Current(), "v8::Uint32::Value()")) return 0;
3503 int v8::Object::InternalFieldCount() {
3505 if (IsDeadCheck(obj->GetIsolate(), "v8::Object::InternalFieldCount()")) {
3512 Local<Value> v8::Object::CheckedGetInternalField(int index) {
3514 if (IsDeadCheck(obj->GetIsolate(), "v8::Object::GetInternalField()")) {
3518 "v8::Object::GetInternalField()",
3532 void v8::Object::SetInternalField(int index, v8::Handle<Value> value) {
3535 if (IsDeadCheck(isolate, "v8::Object::SetInternalField()")) {
3539 "v8::Object::SetInternalField()",
3566 void v8::Object::SetPointerInInternalField(int index, void* value) {
3586 bool v8::V8::Initialize() {
3595 bool v8::V8::Dispose() {
3598 "v8::V8::Dispose()",
3599 "Use v8::Isolate::Dispose() for a non-default isolate.")) {
3602 i::V8::TearDown();
3613 void v8::V8::GetHeapStatistics(HeapStatistics* heap_statistics) {
3623 bool v8::V8::IdleNotification() {
3627 return i::V8::IdleNotification();
3631 void v8::V8::LowMemoryNotification() {
3638 int v8::V8::ContextDisposedNotification() {
3645 const char* v8::V8::GetVersion() {
3662 Persistent<Context> v8::Context::New(
3663 v8::ExtensionConfiguration* extensions,
3664 v8::Handle<ObjectTemplate> global_template,
3665 v8::Handle<Value> global_object) {
3667 EnsureInitializedForIsolate(isolate, "v8::Context::New()");
3669 ON_BAILOUT(isolate, "v8::Context::New()", return Persistent<Context>());
3671 // Enter V8 via an ENTER_V8 scope.
3675 v8::Handle<ObjectTemplate> proxy_template = global_template;
3725 // Leave V8.
3733 void v8::Context::SetSecurityToken(Handle<Value> token) {
3735 if (IsDeadCheck(isolate, "v8::Context::SetSecurityToken()")) {
3745 void v8::Context::UseDefaultSecurityToken() {
3748 "v8::Context::UseDefaultSecurityToken()")) {
3757 Handle<Value> v8::Context::GetSecurityToken() {
3759 if (IsDeadCheck(isolate, "v8::Context::GetSecurityToken()")) {
3780 v8::Local<v8::Context> Context::GetEntered() {
3782 if (!EnsureInitializedForIsolate(isolate, "v8::Context::GetEntered()")) {
3793 v8::Local<v8::Context> Context::GetCurrent() {
3795 if (IsDeadCheck(isolate, "v8::Context::GetCurrent()")) {
3805 v8::Local<v8::Context> Context::GetCalling() {
3807 if (IsDeadCheck(isolate, "v8::Context::GetCalling()")) {
3818 v8::Local<v8::Object> Context::Global() {
3819 if (IsDeadCheck(i::Isolate::Current(), "v8::Context::Global()")) {
3820 return Local<v8::Object>();
3832 if (IsDeadCheck(isolate, "v8::Context::DetachGlobal()")) return;
3843 if (IsDeadCheck(isolate, "v8::Context::ReattachGlobal()")) return;
3854 void V8::SetWrapperClassId(i::Object** global_handle, uint16_t class_id) {
3859 Local<v8::Object> ObjectTemplate::NewInstance() {
3861 ON_BAILOUT(isolate, "v8::ObjectTemplate::NewInstance()",
3862 return Local<v8::Object>());
3869 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Object>());
3874 Local<v8::Function> FunctionTemplate::GetFunction() {
3876 v8::FunctionTemplate::GetFunction()",
3877 return Local<v8::Function>());
3884 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Function>());
3889 bool FunctionTemplate::HasInstance(v8::Handle<v8::Value> value) {
3890 ON_BAILOUT(i::Isolate::Current(), "v8::FunctionTemplate::HasInstanceOf()",
3906 Local<Value> v8::External::Wrap(void* data) {
3909 EnsureInitializedForIsolate(isolate, "v8::External::Wrap()");
3913 v8::Local<v8::Value> result = CanBeEncodedAsSmi(data)
3915 : v8::Local<v8::Value>(ExternalNewImpl(data));
3922 void* v8::Object::SlowGetPointerFromInternalField(int index) {
3935 void* v8::External::FullUnwrap(v8::Handle<v8::Value> wrapper) {
3936 if (IsDeadCheck(i::Isolate::Current(), "v8::External::Unwrap()")) return 0;
3951 Local<External> v8::External::New(void* data) {
3954 EnsureInitializedForIsolate(isolate, "v8::External::New()");
3962 if (IsDeadCheck(i::Isolate::Current(), "v8::External::Value()")) return 0;
3968 Local<String> v8::String::Empty() {
3970 EnsureInitializedForIsolate(isolate, "v8::String::Empty()");
3976 Local<String> v8::String::New(const char* data, int length) {
3978 EnsureInitializedForIsolate(isolate, "v8::String::New()");
3990 Local<String> v8::String::Concat(Handle<String> left, Handle<String> right) {
3993 EnsureInitializedForIsolate(isolate, "v8::String::New()");
4003 Local<String> v8::String::NewUndetectable(const char* data, int length) {
4005 EnsureInitializedForIsolate(isolate, "v8::String::NewUndetectable()");
4024 Local<String> v8::String::New(const uint16_t* data, int length) {
4026 EnsureInitializedForIsolate(isolate, "v8::String::New()");
4038 Local<String> v8::String::NewUndetectable(const uint16_t* data, int length) {
4040 EnsureInitializedForIsolate(isolate, "v8::String::NewUndetectable()");
4053 v8::String::ExternalStringResource* resource) {
4061 v8::String::ExternalAsciiStringResource* resource) {
4068 Local<String> v8::String::NewExternal(
4069 v8::String::ExternalStringResource* resource) {
4071 EnsureInitializedForIsolate(isolate, "v8::String::NewExternal()");
4080 bool v8::String::MakeExternal(v8::String::ExternalStringResource* resource) {
4083 if (IsDeadCheck(isolate, "v8::String::MakeExternal()")) return false;
4099 Local<String> v8::String::NewExternal(
4100 v8::String::ExternalAsciiStringResource* resource) {
4102 EnsureInitializedForIsolate(isolate, "v8::String::NewExternal()");
4111 bool v8::String::MakeExternal(
4112 v8::String::ExternalAsciiStringResource* resource) {
4115 if (IsDeadCheck(isolate, "v8::String::MakeExternal()")) return false;
4131 bool v8::String::CanMakeExternal() {
4134 if (IsDeadCheck(isolate, "v8::String::CanMakeExternal()")) return false;
4146 Local<v8::Object> v8::Object::New() {
4148 EnsureInitializedForIsolate(isolate, "v8::Object::New()");
4157 Local<v8::Value> v8::Date::New(double time) {
4159 EnsureInitializedForIsolate(isolate, "v8::Date::New()");
4169 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::Value>());
4174 double v8::Date::NumberValue() const {
4176 if (IsDeadCheck(isolate, "v8::Date::NumberValue()")) return 0;
4184 void v8::Date::DateTimeConfigurationChangeNotification() {
4186 ON_BAILOUT(isolate, "v8::Date::DateTimeConfigurationChangeNotification()",
4229 Local<v8::RegExp> v8::RegExp::New(Handle<String> pattern,
4232 EnsureInitializedForIsolate(isolate, "v8::RegExp::New()");
4240 EXCEPTION_BAILOUT_CHECK(isolate, Local<v8::RegExp>());
4245 Local<v8::String> v8::RegExp::GetSource() const {
4247 if (IsDeadCheck(isolate, "v8::RegExp::GetSource()")) {
4248 return Local<v8::String>();
4257 STATIC_ASSERT(static_cast<int>(v8::RegExp::api_flag) == \
4265 v8::RegExp::Flags v8::RegExp::GetFlags() const {
4266 if (IsDeadCheck(i::Isolate::Current(), "v8::RegExp::GetFlags()")) {
4267 return v8::RegExp::kNone;
4274 Local<v8::Array> v8::Array::New(int length) {
4276 EnsureInitializedForIsolate(isolate, "v8::Array::New()");
4288 uint32_t v8::Array::Length() const {
4290 if (IsDeadCheck(isolate, "v8::Array::Length()")) return 0;
4303 ON_BAILOUT(isolate, "v8::Array::CloneElementAt()", return Local<Object>());
4323 Local<String> v8::String::NewSymbol(const char* data, int length) {
4325 EnsureInitializedForIsolate(isolate, "v8::String::NewSymbol()");
4335 Local<Number> v8::Number::New(double value) {
4337 EnsureInitializedForIsolate(isolate, "v8::Number::New()");
4348 Local<Integer> v8::Integer::New(int32_t value) {
4350 EnsureInitializedForIsolate(isolate, "v8::Integer::New()");
4373 void V8::IgnoreOutOfMemoryException() {
4378 bool V8::AddMessageListener(MessageCallback that, Handle<Value> data) {
4380 EnsureInitializedForIsolate(isolate, "v8::V8::AddMessageListener()");
4381 ON_BAILOUT(isolate, "v8::V8::AddMessageListener()", return false);
4395 void V8::RemoveMessageListeners(MessageCallback that) {
4397 EnsureInitializedForIsolate(isolate, "v8::V8::RemoveMessageListener()");
4398 ON_BAILOUT(isolate, "v8::V8::RemoveMessageListeners()", return);
4414 void V8::SetCaptureStackTraceForUncaughtExceptions(
4425 void V8::SetCounterFunction(CounterLookupCallback callback) {
4427 if (IsDeadCheck(isolate, "v8::V8::SetCounterFunction()")) return;
4431 void V8::SetCreateHistogramFunction(CreateHistogramCallback callback) {
4433 if (IsDeadCheck(isolate, "v8::V8::SetCreateHistogramFunction()")) return;
4437 void V8::SetAddHistogramSampleFunction(AddHistogramSampleCallback callback) {
4439 if (IsDeadCheck(isolate, "v8::V8::SetAddHistogramSampleFunction()")) return;
4444 void V8::EnableSlidingStateWindow() {
4446 if (IsDeadCheck(isolate, "v8::V8::EnableSlidingStateWindow()")) return;
4451 void V8::SetFailedAccessCheckCallbackFunction(
4454 if (IsDeadCheck(isolate, "v8::V8::SetFailedAccessCheckCallbackFunction()")) {
4460 void V8::AddObjectGroup(Persistent<Value>* objects,
4464 if (IsDeadCheck(isolate, "v8::V8::AddObjectGroup()")) return;
4471 void V8::AddImplicitReferences(Persistent<Object> parent,
4475 if (IsDeadCheck(isolate, "v8::V8::AddImplicitReferences()")) return;
4483 int V8::AdjustAmountOfExternalAllocatedMemory(int change_in_bytes) {
4485 if (IsDeadCheck(isolate, "v8::V8::AdjustAmountOfExternalAllocatedMemory()")) {
4493 void V8::SetGlobalGCPrologueCallback(GCCallback callback) {
4495 if (IsDeadCheck(isolate, "v8::V8::SetGlobalGCPrologueCallback()")) return;
4500 void V8::SetGlobalGCEpilogueCallback(GCCallback callback) {
4502 if (IsDeadCheck(isolate, "v8::V8::SetGlobalGCEpilogueCallback()")) return;
4507 void V8::AddGCPrologueCallback(GCPrologueCallback callback, GCType gc_type) {
4509 if (IsDeadCheck(isolate, "v8::V8::AddGCPrologueCallback()")) return;
4514 void V8::RemoveGCPrologueCallback(GCPrologueCallback callback) {
4516 if (IsDeadCheck(isolate, "v8::V8::RemoveGCPrologueCallback()")) return;
4521 void V8::AddGCEpilogueCallback(GCEpilogueCallback callback, GCType gc_type) {
4523 if (IsDeadCheck(isolate, "v8::V8::AddGCEpilogueCallback()")) return;
4528 void V8::RemoveGCEpilogueCallback(GCEpilogueCallback callback) {
4530 if (IsDeadCheck(isolate, "v8::V8::RemoveGCEpilogueCallback()")) return;
4535 void V8::AddMemoryAllocationCallback(MemoryAllocationCallback callback,
4539 if (IsDeadCheck(isolate, "v8::V8::AddMemoryAllocationCallback()")) return;
4545 void V8::RemoveMemoryAllocationCallback(MemoryAllocationCallback callback) {
4547 if (IsDeadCheck(isolate, "v8::V8::RemoveMemoryAllocationCallback()")) return;
4553 void V8::PauseProfiler() {
4560 void V8::ResumeProfiler() {
4567 bool V8::IsProfilerPaused() {
4576 void V8::ResumeProfilerEx(int flags, int tag) {
4599 void V8::PauseProfilerEx(int flags, int tag) {
4606 int V8::GetActiveProfilerModules() {
4615 int V8::GetLogLines(int from_pos, char* dest_buf, int max_size) {
4624 int V8::GetCurrentThreadId() {
4626 EnsureInitializedForIsolate(isolate, "V8::GetCurrentThreadId()");
4631 void V8::TerminateExecution(int thread_id) {
4634 API_ENTRY_CHECK("V8::TerminateExecution()");
4647 void V8::TerminateExecution(Isolate* isolate) {
4657 bool V8::IsExecutionTerminating() {
4678 "v8::Isolate::Dispose()",
4698 String::Utf8Value::Utf8Value(v8::Handle<v8::Value> obj) {
4700 if (IsDeadCheck(isolate, "v8::String::Utf8Value::Utf8Value()")) return;
4726 String::AsciiValue::AsciiValue(v8::Handle<v8::Value> obj) {
4728 if (IsDeadCheck(isolate, "v8::String::AsciiValue::AsciiValue()")) return;
4754 String::Value::Value(v8::Handle<v8::Value> obj) {
4756 if (IsDeadCheck(isolate, "v8::String::Value::Value()")) return;
4781 Local<Value> Exception::RangeError(v8::Handle<v8::String> raw_message) {
4784 ON_BAILOUT(isolate, "v8::Exception::RangeError()", return Local<Value>());
4797 Local<Value> Exception::ReferenceError(v8::Handle<v8::String> raw_message) {
4800 ON_BAILOUT(isolate, "v8::Exception::ReferenceError()", return Local<Value>());
4814 Local<Value> Exception::SyntaxError(v8::Handle<v8::String> raw_message) {
4817 ON_BAILOUT(isolate, "v8::Exception::SyntaxError()", return Local<Value>());
4830 Local<Value> Exception::TypeError(v8::Handle<v8::String> raw_message) {
4833 ON_BAILOUT(isolate, "v8::Exception::TypeError()", return Local<Value>());
4846 Local<Value> Exception::Error(v8::Handle<v8::String> raw_message) {
4849 ON_BAILOUT(isolate, "v8::Exception::Error()", return Local<Value>());
4867 static void EventCallbackWrapper(const v8::Debug::EventDetails& event_details) {
4880 EnsureInitializedForIsolate(isolate, "v8::Debug::SetDebugEventListener()");
4881 ON_BAILOUT(isolate, "v8::Debug::SetDebugEventListener()", return false);
4898 EnsureInitializedForIsolate(isolate, "v8::Debug::SetDebugEventListener2()");
4899 ON_BAILOUT(isolate, "v8::Debug::SetDebugEventListener2()", return false);
4912 bool Debug::SetDebugEventListener(v8::Handle<v8::Object> that,
4915 ON_BAILOUT(isolate, "v8::Debug::SetDebugEventListener()", return false);
4955 static void MessageHandlerWrapper(const v8::Debug::Message& message) {
4958 v8::String::Value json(message.GetJSON());
4964 void Debug::SetMessageHandler(v8::Debug::MessageHandler handler,
4967 EnsureInitializedForIsolate(isolate, "v8::Debug::SetMessageHandler");
4984 void Debug::SetMessageHandler2(v8::Debug::MessageHandler2 handler) {
4986 EnsureInitializedForIsolate(isolate, "v8::Debug::SetMessageHandler");
5010 EnsureInitializedForIsolate(isolate, "v8::Debug::SetHostDispatchHandler");
5020 "v8::Debug::SetDebugMessageDispatchHandler");
5027 Local<Value> Debug::Call(v8::Handle<v8::Function> fun,
5028 v8::Handle<v8::Value> data) {
5031 ON_BAILOUT(isolate, "v8::Debug::Call()", return Local<Value>());
5049 Local<Value> Debug::GetMirror(v8::Handle<v8::Value> obj) {
5052 ON_BAILOUT(isolate, "v8::Debug::GetMirror()", return Local<Value>());
5054 v8::HandleScope scope;
5062 v8::Handle<v8::Function> v8_fun = Utils::ToLocal(fun);
5064 v8::Handle<v8::Value> argv[kArgc] = { obj };
5066 v8::Handle<v8::Value> result = v8_fun->Call(Utils::ToLocal(debug),
5085 EnsureInitializedForIsolate(isolate, "v8::Debug::GetDebugContext()");
5097 IsDeadCheck(isolate, "v8::CpuProfileNode::GetFunctionName");
5113 IsDeadCheck(isolate, "v8::CpuProfileNode::GetScriptResourceName");
5122 IsDeadCheck(isolate, "v8::CpuProfileNode::GetLineNumber");
5129 IsDeadCheck(isolate, "v8::CpuProfileNode::GetTotalTime");
5136 IsDeadCheck(isolate, "v8::CpuProfileNode::GetSelfTime");
5143 IsDeadCheck(isolate, "v8::CpuProfileNode::GetTotalSamplesCount");
5150 IsDeadCheck(isolate, "v8::CpuProfileNode::GetSelfSamplesCount");
5157 IsDeadCheck(isolate, "v8::CpuProfileNode::GetCallUid");
5164 IsDeadCheck(isolate, "v8::CpuProfileNode::GetChildrenCount");
5171 IsDeadCheck(isolate, "v8::CpuProfileNode::GetChild");
5180 IsDeadCheck(isolate, "v8::CpuProfile::Delete");
5192 IsDeadCheck(isolate, "v8::CpuProfile::GetUid");
5199 IsDeadCheck(isolate, "v8::CpuProfile::GetTitle");
5208 IsDeadCheck(isolate, "v8::CpuProfile::GetBottomUpRoot");
5216 IsDeadCheck(isolate, "v8::CpuProfile::GetTopDownRoot");
5224 IsDeadCheck(isolate, "v8::CpuProfiler::GetProfilesCount");
5232 IsDeadCheck(isolate, "v8::CpuProfiler::GetProfile");
5243 IsDeadCheck(isolate, "v8::CpuProfiler::FindProfile");
5253 IsDeadCheck(isolate, "v8::CpuProfiler::StartProfiling");
5261 IsDeadCheck(isolate, "v8::CpuProfiler::StopProfiling");
5271 IsDeadCheck(isolate, "v8::CpuProfiler::DeleteAllProfiles");
5283 IsDeadCheck(isolate, "v8::HeapGraphEdge::GetType");
5290 IsDeadCheck(isolate, "v8::HeapGraphEdge::GetName");
5305 return v8::Undefined();
5311 IsDeadCheck(isolate, "v8::HeapGraphEdge::GetFromNode");
5319 IsDeadCheck(isolate, "v8::HeapGraphEdge::GetToNode");
5333 IsDeadCheck(isolate, "v8::HeapGraphNode::GetType");
5340 IsDeadCheck(isolate, "v8::HeapGraphNode::GetName");
5348 IsDeadCheck(isolate, "v8
5356 IsDeadCheck(isolate, "v8::HeapGraphNode::GetInstancesCount");
5364 IsDeadCheck(isolate, "v8::HeapGraphNode::GetSelfSize");
5371 IsDeadCheck(isolate, "v8::HeapSnapshot::GetRetainedSize");
5378 IsDeadCheck(isolate, "v8::HeapSnapshot::GetChildrenCount");
5385 IsDeadCheck(isolate, "v8::HeapSnapshot::GetChild");
5393 IsDeadCheck(isolate, "v8::HeapSnapshot::GetRetainersCount");
5400 IsDeadCheck(isolate, "v8::HeapSnapshot::GetRetainer");
5408 IsDeadCheck(isolate, "v8::HeapSnapshot::GetDominatorNode");
5421 IsDeadCheck(isolate, "v8::HeapSnapshot::Delete");
5433 IsDeadCheck(isolate, "v8::HeapSnapshot::GetType");
5440 IsDeadCheck(isolate, "v8::HeapSnapshot::GetUid");
5447 IsDeadCheck(isolate, "v8::HeapSnapshot::GetTitle");
5455 IsDeadCheck(isolate, "v8::HeapSnapshot::GetHead");
5462 IsDeadCheck(isolate, "v8::HeapSnapshot::GetNodeById");
5471 IsDeadCheck(isolate, "v8::HeapSnapshot::Serialize");
5473 "v8::HeapSnapshot::Serialize",
5476 "v8::HeapSnapshot::Serialize",
5479 "v8::HeapSnapshot::Serialize",
5488 IsDeadCheck(isolate, "v8::HeapProfiler::GetSnapshotsCount");
5495 IsDeadCheck(isolate, "v8::HeapProfiler::GetSnapshot");
5503 IsDeadCheck(isolate, "v8::HeapProfiler::FindSnapshot");
5513 IsDeadCheck(isolate, "v8::HeapProfiler::TakeSnapshot");
5533 IsDeadCheck(isolate, "v8::HeapProfiler::DeleteAllSnapshots");
5547 v8::Testing::StressType internal::Testing::stress_type_ =
5548 v8::Testing::kStressTypeOpt;
5568 V8::SetFlagsFromString(flags, i::StrLength(flags));
5623 v8::ImplementationUtilities::HandleScopeData* current =
5667 v8::ImplementationUtilities::HandleScopeData* current =
5681 } } // namespace v8::internal