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

Side by Side Diff: src/isolate.h

Issue 12494012: new style of property/function callbacks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: make arm look like other architectures Created 7 years, 7 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/ia32/stub-cache-ia32.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "optimizing-compiler-thread.h" 44 #include "optimizing-compiler-thread.h"
45 #include "regexp-stack.h" 45 #include "regexp-stack.h"
46 #include "runtime-profiler.h" 46 #include "runtime-profiler.h"
47 #include "runtime.h" 47 #include "runtime.h"
48 #include "zone.h" 48 #include "zone.h"
49 49
50 namespace v8 { 50 namespace v8 {
51 namespace internal { 51 namespace internal {
52 52
53 class Bootstrapper; 53 class Bootstrapper;
54 class CallbackTable;
54 class CodeGenerator; 55 class CodeGenerator;
55 class CodeRange; 56 class CodeRange;
56 struct CodeStubInterfaceDescriptor; 57 struct CodeStubInterfaceDescriptor;
57 class CompilationCache; 58 class CompilationCache;
58 class ContextSlotCache; 59 class ContextSlotCache;
59 class ContextSwitcher; 60 class ContextSwitcher;
60 class Counters; 61 class Counters;
61 class CpuFeatures; 62 class CpuFeatures;
62 class CpuProfiler; 63 class CpuProfiler;
63 class DeoptimizerData; 64 class DeoptimizerData;
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 static v8::Isolate* GetDefaultIsolateForLocking(); 1096 static v8::Isolate* GetDefaultIsolateForLocking();
1096 1097
1097 MarkingThread** marking_threads() { 1098 MarkingThread** marking_threads() {
1098 return marking_thread_; 1099 return marking_thread_;
1099 } 1100 }
1100 1101
1101 SweeperThread** sweeper_threads() { 1102 SweeperThread** sweeper_threads() {
1102 return sweeper_thread_; 1103 return sweeper_thread_;
1103 } 1104 }
1104 1105
1106 CallbackTable* callback_table() {
1107 return callback_table_;
1108 }
1109 void set_callback_table(CallbackTable* callback_table) {
1110 callback_table_ = callback_table;
1111 }
1112
1105 HStatistics* GetHStatistics(); 1113 HStatistics* GetHStatistics();
1106 HTracer* GetHTracer(); 1114 HTracer* GetHTracer();
1107 1115
1108 private: 1116 private:
1109 Isolate(); 1117 Isolate();
1110 1118
1111 int id() const { return static_cast<int>(id_); } 1119 int id() const { return static_cast<int>(id_); }
1112 1120
1113 friend struct GlobalState; 1121 friend struct GlobalState;
1114 friend struct InitializeGlobalState; 1122 friend struct InitializeGlobalState;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 static const intptr_t name##_debug_offset_; 1340 static const intptr_t name##_debug_offset_;
1333 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 1341 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
1334 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1342 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1335 #undef ISOLATE_FIELD_OFFSET 1343 #undef ISOLATE_FIELD_OFFSET
1336 #endif 1344 #endif
1337 1345
1338 DeferredHandles* deferred_handles_head_; 1346 DeferredHandles* deferred_handles_head_;
1339 OptimizingCompilerThread optimizing_compiler_thread_; 1347 OptimizingCompilerThread optimizing_compiler_thread_;
1340 MarkingThread** marking_thread_; 1348 MarkingThread** marking_thread_;
1341 SweeperThread** sweeper_thread_; 1349 SweeperThread** sweeper_thread_;
1350 CallbackTable* callback_table_;
1342 1351
1343 friend class ExecutionAccess; 1352 friend class ExecutionAccess;
1344 friend class HandleScopeImplementer; 1353 friend class HandleScopeImplementer;
1345 friend class IsolateInitializer; 1354 friend class IsolateInitializer;
1346 friend class MarkingThread; 1355 friend class MarkingThread;
1347 friend class OptimizingCompilerThread; 1356 friend class OptimizingCompilerThread;
1348 friend class SweeperThread; 1357 friend class SweeperThread;
1349 friend class ThreadManager; 1358 friend class ThreadManager;
1350 friend class Simulator; 1359 friend class Simulator;
1351 friend class StackGuard; 1360 friend class StackGuard;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 1498
1490 // Mark the native context with out of memory. 1499 // Mark the native context with out of memory.
1491 inline void Context::mark_out_of_memory() { 1500 inline void Context::mark_out_of_memory() {
1492 native_context()->set_out_of_memory(HEAP->true_value()); 1501 native_context()->set_out_of_memory(HEAP->true_value());
1493 } 1502 }
1494 1503
1495 1504
1496 } } // namespace v8::internal 1505 } } // namespace v8::internal
1497 1506
1498 #endif // V8_ISOLATE_H_ 1507 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698