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

Side by Side Diff: src/isolate.h

Issue 2878014: [Isolates] Fixing Win32 compile and running tests failure. (Closed)
Patch Set: Typos Created 10 years, 5 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
« no previous file with comments | « src/builtins.cc ('k') | src/isolate.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 #else 270 #else
271 ASSERT(global_isolate_ != NULL); 271 ASSERT(global_isolate_ != NULL);
272 return global_isolate_; 272 return global_isolate_;
273 #endif 273 #endif
274 } 274 }
275 275
276 #ifdef V8_USE_TLS_FOR_GLOBAL_ISOLATE 276 #ifdef V8_USE_TLS_FOR_GLOBAL_ISOLATE
277 static Isolate* InitThreadForGlobalIsolate(); 277 static Isolate* InitThreadForGlobalIsolate();
278 #endif 278 #endif
279 279
280 // Destroy the global isolate.
281 static void TearDown();
282
280 // Destroy the global isolate and create a new one in its place. 283 // Destroy the global isolate and create a new one in its place.
281 static void TearDownAndRecreateGlobalIsolate(); 284 static void TearDownAndRecreateGlobalIsolate();
282 285
283 // Creates a new isolate (perhaps using a deserializer). Returns null 286 // Creates a new isolate (perhaps using a deserializer). Returns null
284 // on failure. 287 // on failure.
285 static Isolate* Create(Deserializer* des); 288 static Isolate* Create(Deserializer* des);
286 289
287 // Debug. 290 // Debug.
288 // Mutex for serializing access to break control structures. 291 // Mutex for serializing access to break control structures.
289 Mutex* break_access() { return break_access_; } 292 Mutex* break_access() { return break_access_; }
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 // Temporary macro to be used to flag classes that are completely converted 910 // Temporary macro to be used to flag classes that are completely converted
908 // to be isolate-friendly. Their mix of static/nonstatic methods/fields is 911 // to be isolate-friendly. Their mix of static/nonstatic methods/fields is
909 // correct. 912 // correct.
910 #define ISOLATED_CLASS class 913 #define ISOLATED_CLASS class
911 914
912 } } // namespace v8::internal 915 } } // namespace v8::internal
913 916
914 #include "allocation-inl.h" 917 #include "allocation-inl.h"
915 918
916 #endif // V8_ISOLATE_H_ 919 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698