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

Side by Side Diff: src/isolate.h

Issue 146213004: A64: Synchronize with r16849. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/ic.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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 494
495 // Destroys the non-default isolates. 495 // Destroys the non-default isolates.
496 // Sets default isolate into "has_been_disposed" state rather then destroying, 496 // Sets default isolate into "has_been_disposed" state rather then destroying,
497 // for legacy API reasons. 497 // for legacy API reasons.
498 void TearDown(); 498 void TearDown();
499 499
500 static void GlobalTearDown(); 500 static void GlobalTearDown();
501 501
502 bool IsDefaultIsolate() const { return this == default_isolate_; } 502 bool IsDefaultIsolate() const { return this == default_isolate_; }
503 503
504 static void SetCrashIfDefaultIsolateInitialized();
504 // Ensures that process-wide resources and the default isolate have been 505 // Ensures that process-wide resources and the default isolate have been
505 // allocated. It is only necessary to call this method in rare cases, for 506 // allocated. It is only necessary to call this method in rare cases, for
506 // example if you are using V8 from within the body of a static initializer. 507 // example if you are using V8 from within the body of a static initializer.
507 // Safe to call multiple times. 508 // Safe to call multiple times.
508 static void EnsureDefaultIsolate(); 509 static void EnsureDefaultIsolate();
509 510
510 // Find the PerThread for this particular (isolate, thread) combination 511 // Find the PerThread for this particular (isolate, thread) combination
511 // If one does not yet exist, return null. 512 // If one does not yet exist, return null.
512 PerIsolateThreadData* FindPerThreadDataForThisThread(); 513 PerIsolateThreadData* FindPerThreadDataForThisThread();
513 514
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1537 1538
1538 // Mark the native context with out of memory. 1539 // Mark the native context with out of memory.
1539 inline void Context::mark_out_of_memory() { 1540 inline void Context::mark_out_of_memory() {
1540 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); 1541 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value());
1541 } 1542 }
1542 1543
1543 1544
1544 } } // namespace v8::internal 1545 } } // namespace v8::internal
1545 1546
1546 #endif // V8_ISOLATE_H_ 1547 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698