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

Side by Side Diff: src/isolate.h

Issue 25611003: build fix for 17049 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/api.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 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 491
492 static void GlobalTearDown(); 492 static void GlobalTearDown();
493 493
494 bool IsDefaultIsolate() const { return is_default_isolate_; } 494 bool IsDefaultIsolate() const { return is_default_isolate_; }
495 495
496 static void SetCrashIfDefaultIsolateInitialized(); 496 static void SetCrashIfDefaultIsolateInitialized();
497 // Ensures that process-wide resources and the default isolate have been 497 // Ensures that process-wide resources and the default isolate have been
498 // allocated. It is only necessary to call this method in rare cases, for 498 // allocated. It is only necessary to call this method in rare cases, for
499 // example if you are using V8 from within the body of a static initializer. 499 // example if you are using V8 from within the body of a static initializer.
500 // Safe to call multiple times. 500 // Safe to call multiple times.
501 static Isolate* EnsureDefaultIsolate(); 501 static Isolate* EnsureDefaultIsolate(bool must_be_null = false);
502 502
503 // Initialize all thread local variables 503 // Initialize all thread local variables
504 static void InitializeThreadLocalStorage(); 504 static void InitializeThreadLocalStorage();
505 505
506 // Find the PerThread for this particular (isolate, thread) combination 506 // Find the PerThread for this particular (isolate, thread) combination
507 // If one does not yet exist, return null. 507 // If one does not yet exist, return null.
508 PerIsolateThreadData* FindPerThreadDataForThisThread(); 508 PerIsolateThreadData* FindPerThreadDataForThisThread();
509 509
510 // Find the PerThread for given (isolate, thread) combination 510 // Find the PerThread for given (isolate, thread) combination
511 // If one does not yet exist, return null. 511 // If one does not yet exist, return null.
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 1499
1500 // Mark the native context with out of memory. 1500 // Mark the native context with out of memory.
1501 inline void Context::mark_out_of_memory() { 1501 inline void Context::mark_out_of_memory() {
1502 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); 1502 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value());
1503 } 1503 }
1504 1504
1505 1505
1506 } } // namespace v8::internal 1506 } } // namespace v8::internal
1507 1507
1508 #endif // V8_ISOLATE_H_ 1508 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698