| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 static i::OS::MemoryMappedFile* counters_file_; | 376 static i::OS::MemoryMappedFile* counters_file_; |
| 377 static i::Mutex* context_mutex_; | 377 static i::Mutex* context_mutex_; |
| 378 | 378 |
| 379 static Counter* GetCounter(const char* name, bool is_histogram); | 379 static Counter* GetCounter(const char* name, bool is_histogram); |
| 380 static void InstallUtilityScript(); | 380 static void InstallUtilityScript(); |
| 381 #endif // V8_SHARED | 381 #endif // V8_SHARED |
| 382 static void Initialize(); | 382 static void Initialize(); |
| 383 static void RunShell(); | 383 static void RunShell(); |
| 384 static bool SetOptions(int argc, char* argv[]); | 384 static bool SetOptions(int argc, char* argv[]); |
| 385 static Handle<ObjectTemplate> CreateGlobalTemplate(); | 385 static Handle<ObjectTemplate> CreateGlobalTemplate(); |
| 386 static Handle<Value> CreateExternalArrayBuffer(int32_t size); |
| 387 static Handle<Value> CreateExternalArrayBuffer(const Arguments& args); |
| 386 static Handle<Value> CreateExternalArray(const Arguments& args, | 388 static Handle<Value> CreateExternalArray(const Arguments& args, |
| 387 ExternalArrayType type, | 389 ExternalArrayType type, |
| 388 size_t element_size); | 390 int32_t element_size); |
| 389 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); | 391 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); |
| 390 }; | 392 }; |
| 391 | 393 |
| 392 | 394 |
| 393 } // namespace v8 | 395 } // namespace v8 |
| 394 | 396 |
| 395 | 397 |
| 396 #endif // V8_D8_H_ | 398 #endif // V8_D8_H_ |
| OLD | NEW |