Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: src/d8.h

Issue 21095008: Revert the latest set of platform changes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/checks.h ('k') | src/d8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 private: 381 private:
382 static Persistent<Context> evaluation_context_; 382 static Persistent<Context> evaluation_context_;
383 #ifndef V8_SHARED 383 #ifndef V8_SHARED
384 static Persistent<Context> utility_context_; 384 static Persistent<Context> utility_context_;
385 static CounterMap* counter_map_; 385 static CounterMap* counter_map_;
386 // We statically allocate a set of local counters to be used if we 386 // We statically allocate a set of local counters to be used if we
387 // don't want to store the stats in a memory-mapped file 387 // don't want to store the stats in a memory-mapped file
388 static CounterCollection local_counters_; 388 static CounterCollection local_counters_;
389 static CounterCollection* counters_; 389 static CounterCollection* counters_;
390 static i::OS::MemoryMappedFile* counters_file_; 390 static i::OS::MemoryMappedFile* counters_file_;
391 static i::Mutex context_mutex_; 391 static i::Mutex* context_mutex_;
392 392
393 static Counter* GetCounter(const char* name, bool is_histogram); 393 static Counter* GetCounter(const char* name, bool is_histogram);
394 static void InstallUtilityScript(Isolate* isolate); 394 static void InstallUtilityScript(Isolate* isolate);
395 #endif // V8_SHARED 395 #endif // V8_SHARED
396 static void Initialize(Isolate* isolate); 396 static void Initialize(Isolate* isolate);
397 static void InitializeDebugger(Isolate* isolate); 397 static void InitializeDebugger(Isolate* isolate);
398 static void RunShell(Isolate* isolate); 398 static void RunShell(Isolate* isolate);
399 static bool SetOptions(int argc, char* argv[]); 399 static bool SetOptions(int argc, char* argv[]);
400 static Handle<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); 400 static Handle<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate);
401 static Handle<FunctionTemplate> CreateArrayBufferTemplate(InvocationCallback); 401 static Handle<FunctionTemplate> CreateArrayBufferTemplate(InvocationCallback);
(...skipping 16 matching lines...) Expand all
418 static void ExternalArrayWeakCallback(Isolate* isolate, 418 static void ExternalArrayWeakCallback(Isolate* isolate,
419 Persistent<Object>* object, 419 Persistent<Object>* object,
420 uint8_t* data); 420 uint8_t* data);
421 }; 421 };
422 422
423 423
424 } // namespace v8 424 } // namespace v8
425 425
426 426
427 #endif // V8_D8_H_ 427 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « src/checks.h ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698