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

Side by Side Diff: src/isolate.h

Issue 6794050: Revert "[Arguments] Merge (7442,7496] from bleeding_edge." (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 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 | « 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 #else 236 #else
237 237
238 #define ISOLATE_PLATFORM_INIT_LIST(V) 238 #define ISOLATE_PLATFORM_INIT_LIST(V)
239 239
240 #endif 240 #endif
241 241
242 #ifdef ENABLE_DEBUGGER_SUPPORT 242 #ifdef ENABLE_DEBUGGER_SUPPORT
243 243
244 #define ISOLATE_DEBUGGER_INIT_LIST(V) \ 244 #define ISOLATE_DEBUGGER_INIT_LIST(V) \
245 V(uint64_t, enabled_cpu_features, 0) \
246 V(v8::Debug::EventCallback, debug_event_callback, NULL) \ 245 V(v8::Debug::EventCallback, debug_event_callback, NULL) \
247 V(DebuggerAgent*, debugger_agent_instance, NULL) 246 V(DebuggerAgent*, debugger_agent_instance, NULL)
248 #else 247 #else
249 248
250 #define ISOLATE_DEBUGGER_INIT_LIST(V) 249 #define ISOLATE_DEBUGGER_INIT_LIST(V)
251 250
252 #endif 251 #endif
253 252
254 #ifdef DEBUG 253 #ifdef DEBUG
255 254
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 701
703 #define GLOBAL_CONTEXT_FIELD_ACCESSOR(index, type, name) \ 702 #define GLOBAL_CONTEXT_FIELD_ACCESSOR(index, type, name) \
704 Handle<type> name() { \ 703 Handle<type> name() { \
705 return Handle<type>(context()->global_context()->name()); \ 704 return Handle<type>(context()->global_context()->name()); \
706 } 705 }
707 GLOBAL_CONTEXT_FIELDS(GLOBAL_CONTEXT_FIELD_ACCESSOR) 706 GLOBAL_CONTEXT_FIELDS(GLOBAL_CONTEXT_FIELD_ACCESSOR)
708 #undef GLOBAL_CONTEXT_FIELD_ACCESSOR 707 #undef GLOBAL_CONTEXT_FIELD_ACCESSOR
709 708
710 Bootstrapper* bootstrapper() { return bootstrapper_; } 709 Bootstrapper* bootstrapper() { return bootstrapper_; }
711 Counters* counters() { return counters_; } 710 Counters* counters() { return counters_; }
711 // TODO(isolates): Having CPU features per isolate is probably too
712 // flexible. We only really need to have the set of currently
713 // enabled features for asserts in DEBUG builds.
714 CpuFeatures* cpu_features() { return cpu_features_; }
712 CodeRange* code_range() { return code_range_; } 715 CodeRange* code_range() { return code_range_; }
713 RuntimeProfiler* runtime_profiler() { return runtime_profiler_; } 716 RuntimeProfiler* runtime_profiler() { return runtime_profiler_; }
714 CompilationCache* compilation_cache() { return compilation_cache_; } 717 CompilationCache* compilation_cache() { return compilation_cache_; }
715 Logger* logger() { return logger_; } 718 Logger* logger() { return logger_; }
716 StackGuard* stack_guard() { return &stack_guard_; } 719 StackGuard* stack_guard() { return &stack_guard_; }
717 Heap* heap() { return &heap_; } 720 Heap* heap() { return &heap_; }
718 StatsTable* stats_table() { return stats_table_; } 721 StatsTable* stats_table() { return stats_table_; }
719 StubCache* stub_cache() { return stub_cache_; } 722 StubCache* stub_cache() { return stub_cache_; }
720 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; } 723 DeoptimizerData* deoptimizer_data() { return deoptimizer_data_; }
721 ThreadLocalTop* thread_local_top() { return &thread_local_top_; } 724 ThreadLocalTop* thread_local_top() { return &thread_local_top_; }
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 StringStream* incomplete_message_; 1022 StringStream* incomplete_message_;
1020 // The preallocated memory thread singleton. 1023 // The preallocated memory thread singleton.
1021 PreallocatedMemoryThread* preallocated_memory_thread_; 1024 PreallocatedMemoryThread* preallocated_memory_thread_;
1022 Address isolate_addresses_[k_isolate_address_count + 1]; // NOLINT 1025 Address isolate_addresses_[k_isolate_address_count + 1]; // NOLINT
1023 NoAllocationStringAllocator* preallocated_message_space_; 1026 NoAllocationStringAllocator* preallocated_message_space_;
1024 1027
1025 Bootstrapper* bootstrapper_; 1028 Bootstrapper* bootstrapper_;
1026 RuntimeProfiler* runtime_profiler_; 1029 RuntimeProfiler* runtime_profiler_;
1027 CompilationCache* compilation_cache_; 1030 CompilationCache* compilation_cache_;
1028 Counters* counters_; 1031 Counters* counters_;
1032 CpuFeatures* cpu_features_;
1029 CodeRange* code_range_; 1033 CodeRange* code_range_;
1030 Mutex* break_access_; 1034 Mutex* break_access_;
1031 Heap heap_; 1035 Heap heap_;
1032 Logger* logger_; 1036 Logger* logger_;
1033 StackGuard stack_guard_; 1037 StackGuard stack_guard_;
1034 StatsTable* stats_table_; 1038 StatsTable* stats_table_;
1035 StubCache* stub_cache_; 1039 StubCache* stub_cache_;
1036 DeoptimizerData* deoptimizer_data_; 1040 DeoptimizerData* deoptimizer_data_;
1037 ThreadLocalTop thread_local_top_; 1041 ThreadLocalTop thread_local_top_;
1038 bool capture_stack_trace_for_uncaught_exceptions_; 1042 bool capture_stack_trace_for_uncaught_exceptions_;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 1299
1296 } } // namespace v8::internal 1300 } } // namespace v8::internal
1297 1301
1298 // TODO(isolates): Get rid of these -inl.h includes and place them only where 1302 // TODO(isolates): Get rid of these -inl.h includes and place them only where
1299 // they're needed. 1303 // they're needed.
1300 #include "allocation-inl.h" 1304 #include "allocation-inl.h"
1301 #include "zone-inl.h" 1305 #include "zone-inl.h"
1302 #include "frames-inl.h" 1306 #include "frames-inl.h"
1303 1307
1304 #endif // V8_ISOLATE_H_ 1308 #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