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

Side by Side Diff: src/isolate.h

Issue 13845014: Fix cctest/test-cpu-profiler/CollectCpuProfile test on Arm and MIPS simulators (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Updared OpenBSD Created 7 years, 8 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 | « no previous file | 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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 // Ensures that process-wide resources and the default isolate have been 490 // Ensures that process-wide resources and the default isolate have been
491 // allocated. It is only necessary to call this method in rare cases, for 491 // allocated. It is only necessary to call this method in rare cases, for
492 // example if you are using V8 from within the body of a static initializer. 492 // example if you are using V8 from within the body of a static initializer.
493 // Safe to call multiple times. 493 // Safe to call multiple times.
494 static void EnsureDefaultIsolate(); 494 static void EnsureDefaultIsolate();
495 495
496 // Find the PerThread for this particular (isolate, thread) combination 496 // Find the PerThread for this particular (isolate, thread) combination
497 // If one does not yet exist, return null. 497 // If one does not yet exist, return null.
498 PerIsolateThreadData* FindPerThreadDataForThisThread(); 498 PerIsolateThreadData* FindPerThreadDataForThisThread();
499 499
500 // Find the PerThread for given (isolate, thread) combination
501 // If one does not yet exist, return null.
502 PerIsolateThreadData* FindPerThreadDataForThread(ThreadId thread_id);
503
500 #ifdef ENABLE_DEBUGGER_SUPPORT 504 #ifdef ENABLE_DEBUGGER_SUPPORT
501 // Get the debugger from the default isolate. Preinitializes the 505 // Get the debugger from the default isolate. Preinitializes the
502 // default isolate if needed. 506 // default isolate if needed.
503 static Debugger* GetDefaultIsolateDebugger(); 507 static Debugger* GetDefaultIsolateDebugger();
504 #endif 508 #endif
505 509
506 // Get the stack guard from the default isolate. Preinitializes the 510 // Get the stack guard from the default isolate. Preinitializes the
507 // default isolate if needed. 511 // default isolate if needed.
508 static StackGuard* GetDefaultIsolateStackGuard(); 512 static StackGuard* GetDefaultIsolateStackGuard();
509 513
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
1473 1477
1474 // Mark the native context with out of memory. 1478 // Mark the native context with out of memory.
1475 inline void Context::mark_out_of_memory() { 1479 inline void Context::mark_out_of_memory() {
1476 native_context()->set_out_of_memory(HEAP->true_value()); 1480 native_context()->set_out_of_memory(HEAP->true_value());
1477 } 1481 }
1478 1482
1479 1483
1480 } } // namespace v8::internal 1484 } } // namespace v8::internal
1481 1485
1482 #endif // V8_ISOLATE_H_ 1486 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698