| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_D8_H_ | 5 #ifndef V8_D8_H_ |
| 6 #define V8_D8_H_ | 6 #define V8_D8_H_ |
| 7 | 7 |
| 8 #ifndef V8_SHARED | 8 #ifndef V8_SHARED |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/base/platform/time.h" | 10 #include "src/base/platform/time.h" |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 static void AddHistogramSample(void* histogram, int sample); | 368 static void AddHistogramSample(void* histogram, int sample); |
| 369 static void MapCounters(v8::Isolate* isolate, const char* name); | 369 static void MapCounters(v8::Isolate* isolate, const char* name); |
| 370 | 370 |
| 371 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); | 371 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 372 #endif // !V8_SHARED | 372 #endif // !V8_SHARED |
| 373 | 373 |
| 374 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); | 374 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 375 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args); | 375 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 376 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args); | 376 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 377 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args); | 377 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 378 static void RealmCreateAllowCrossRealmAccess( |
| 379 const v8::FunctionCallbackInfo<v8::Value>& args); |
| 378 static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args); | 380 static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 379 static void RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args); | 381 static void RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 380 static void RealmEval(const v8::FunctionCallbackInfo<v8::Value>& args); | 382 static void RealmEval(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 381 static void RealmSharedGet(Local<String> property, | 383 static void RealmSharedGet(Local<String> property, |
| 382 const PropertyCallbackInfo<Value>& info); | 384 const PropertyCallbackInfo<Value>& info); |
| 383 static void RealmSharedSet(Local<String> property, | 385 static void RealmSharedSet(Local<String> property, |
| 384 Local<Value> value, | 386 Local<Value> value, |
| 385 const PropertyCallbackInfo<void>& info); | 387 const PropertyCallbackInfo<void>& info); |
| 386 | 388 |
| 387 static void Print(const v8::FunctionCallbackInfo<v8::Value>& args); | 389 static void Print(const v8::FunctionCallbackInfo<v8::Value>& args); |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 static void RunShell(Isolate* isolate); | 471 static void RunShell(Isolate* isolate); |
| 470 static bool SetOptions(int argc, char* argv[]); | 472 static bool SetOptions(int argc, char* argv[]); |
| 471 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); | 473 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); |
| 472 }; | 474 }; |
| 473 | 475 |
| 474 | 476 |
| 475 } // namespace v8 | 477 } // namespace v8 |
| 476 | 478 |
| 477 | 479 |
| 478 #endif // V8_D8_H_ | 480 #endif // V8_D8_H_ |
| OLD | NEW |