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

Side by Side Diff: src/isolate.h

Issue 1149863005: Move hash code from hidden string to a private symbol (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix merge Created 5 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
« no previous file with comments | « src/ia32/macro-assembler-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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include "include/v8-debug.h" 9 #include "include/v8-debug.h"
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 v8::ArrayBuffer::Allocator* array_buffer_allocator() const { 1127 v8::ArrayBuffer::Allocator* array_buffer_allocator() const {
1128 return array_buffer_allocator_; 1128 return array_buffer_allocator_;
1129 } 1129 }
1130 1130
1131 protected: 1131 protected:
1132 explicit Isolate(bool enable_serializer); 1132 explicit Isolate(bool enable_serializer);
1133 1133
1134 private: 1134 private:
1135 friend struct GlobalState; 1135 friend struct GlobalState;
1136 friend struct InitializeGlobalState; 1136 friend struct InitializeGlobalState;
1137 Handle<JSObject> SetUpSubregistry(Handle<JSObject> registry, Handle<Map> map,
1138 const char* name);
1137 1139
1138 // These fields are accessed through the API, offsets must be kept in sync 1140 // These fields are accessed through the API, offsets must be kept in sync
1139 // with v8::internal::Internals (in include/v8.h) constants. This is also 1141 // with v8::internal::Internals (in include/v8.h) constants. This is also
1140 // verified in Isolate::Init() using runtime checks. 1142 // verified in Isolate::Init() using runtime checks.
1141 void* embedder_data_[Internals::kNumIsolateDataSlots]; 1143 void* embedder_data_[Internals::kNumIsolateDataSlots];
1142 Heap heap_; 1144 Heap heap_;
1143 1145
1144 // The per-process lock should be acquired before the ThreadDataTable is 1146 // The per-process lock should be acquired before the ThreadDataTable is
1145 // modified. 1147 // modified.
1146 class ThreadDataTable { 1148 class ThreadDataTable {
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 } 1581 }
1580 1582
1581 EmbeddedVector<char, 128> filename_; 1583 EmbeddedVector<char, 128> filename_;
1582 FILE* file_; 1584 FILE* file_;
1583 int scope_depth_; 1585 int scope_depth_;
1584 }; 1586 };
1585 1587
1586 } } // namespace v8::internal 1588 } } // namespace v8::internal
1587 1589
1588 #endif // V8_ISOLATE_H_ 1590 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698