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

Side by Side Diff: src/isolate.cc

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/isolate.h ('k') | src/objects.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 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 string_tracker_(NULL), 1745 string_tracker_(NULL),
1746 regexp_stack_(NULL), 1746 regexp_stack_(NULL),
1747 date_cache_(NULL), 1747 date_cache_(NULL),
1748 code_stub_interface_descriptors_(NULL), 1748 code_stub_interface_descriptors_(NULL),
1749 context_exit_happened_(false), 1749 context_exit_happened_(false),
1750 cpu_profiler_(NULL), 1750 cpu_profiler_(NULL),
1751 heap_profiler_(NULL), 1751 heap_profiler_(NULL),
1752 deferred_handles_head_(NULL), 1752 deferred_handles_head_(NULL),
1753 optimizing_compiler_thread_(this), 1753 optimizing_compiler_thread_(this),
1754 marking_thread_(NULL), 1754 marking_thread_(NULL),
1755 sweeper_thread_(NULL) { 1755 sweeper_thread_(NULL),
1756 callback_table_(NULL) {
1756 id_ = NoBarrier_AtomicIncrement(&isolate_counter_, 1); 1757 id_ = NoBarrier_AtomicIncrement(&isolate_counter_, 1);
1757 TRACE_ISOLATE(constructor); 1758 TRACE_ISOLATE(constructor);
1758 1759
1759 memset(isolate_addresses_, 0, 1760 memset(isolate_addresses_, 0,
1760 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); 1761 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1));
1761 1762
1762 heap_.isolate_ = this; 1763 heap_.isolate_ = this;
1763 stack_guard_.isolate_ = this; 1764 stack_guard_.isolate_ = this;
1764 1765
1765 // ThreadManager is initialized early to support locking an isolate 1766 // ThreadManager is initialized early to support locking an isolate
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 2490
2490 #ifdef DEBUG 2491 #ifdef DEBUG
2491 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2492 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2492 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2493 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2493 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2494 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2494 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2495 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2495 #undef ISOLATE_FIELD_OFFSET 2496 #undef ISOLATE_FIELD_OFFSET
2496 #endif 2497 #endif
2497 2498
2498 } } // namespace v8::internal 2499 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698