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

Side by Side Diff: src/top.h

Issue 6170001: Direct call api functions (arm implementation) (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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
« src/heap.h ('K') | « src/heap.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 14 matching lines...) Expand all
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #ifndef V8_TOP_H_ 28 #ifndef V8_TOP_H_
29 #define V8_TOP_H_ 29 #define V8_TOP_H_
30 30
31 #include "atomicops.h" 31 #include "atomicops.h"
32 #include "compilation-cache.h" 32 #include "compilation-cache.h"
33 #include "frames-inl.h" 33 #include "frames-inl.h"
34 #include "runtime-profiler.h" 34 #include "runtime-profiler.h"
35 #include "simulator.h" 35
36 #ifdef USE_SIMULATOR
antonm 2011/01/21 17:56:36 why this change?
Zaheer 2011/01/24 09:43:31 There's a circular reference with introduction of
37 #ifdef V8_TARGET_ARCH_ARM
38 namespace assembler {
39 namespace arm {
40 class Simulator;
41 }
42 }
43 #elif V8_TARGET_ARCH_MIPS
44 namespace assembler {
45 namespace mips {
46 class Simulator;
47 }
48 }
49 #endif
50 #endif // USE_SIMULATOR
36 51
37 namespace v8 { 52 namespace v8 {
38 namespace internal { 53 namespace internal {
39 54
40
41 #define RETURN_IF_SCHEDULED_EXCEPTION() \ 55 #define RETURN_IF_SCHEDULED_EXCEPTION() \
42 if (Top::has_scheduled_exception()) return Top::PromoteScheduledException() 56 if (Top::has_scheduled_exception()) return Top::PromoteScheduledException()
43 57
44 // Top has static variables used for JavaScript execution. 58 // Top has static variables used for JavaScript execution.
45 59
46 class SaveContext; // Forward declaration. 60 class SaveContext; // Forward declaration.
47 class ThreadVisitor; // Defined in v8threads.h 61 class ThreadVisitor; // Defined in v8threads.h
48 class VMState; // Defined in vm-state.h 62 class VMState; // Defined in vm-state.h
49 63
50 class ThreadLocalTop BASE_EMBEDDED { 64 class ThreadLocalTop BASE_EMBEDDED {
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 static void Unlock() { Top::break_access_->Unlock(); } 602 static void Unlock() { Top::break_access_->Unlock(); }
589 603
590 static bool TryLock() { 604 static bool TryLock() {
591 return Top::break_access_->TryLock(); 605 return Top::break_access_->TryLock();
592 } 606 }
593 }; 607 };
594 608
595 } } // namespace v8::internal 609 } } // namespace v8::internal
596 610
597 #endif // V8_TOP_H_ 611 #endif // V8_TOP_H_
OLDNEW
« src/heap.h ('K') | « src/heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698