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

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 MIPS 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
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 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 v8::ArrayBuffer::Allocator* array_buffer_allocator() const { 1126 v8::ArrayBuffer::Allocator* array_buffer_allocator() const {
1127 return array_buffer_allocator_; 1127 return array_buffer_allocator_;
1128 } 1128 }
1129 1129
1130 protected: 1130 protected:
1131 explicit Isolate(bool enable_serializer); 1131 explicit Isolate(bool enable_serializer);
1132 1132
1133 private: 1133 private:
1134 friend struct GlobalState; 1134 friend struct GlobalState;
1135 friend struct InitializeGlobalState; 1135 friend struct InitializeGlobalState;
1136 Handle<JSObject> SetUpSubregistry(Handle<JSObject> registry, Handle<Map> map,
1137 const char* name);
1136 1138
1137 // These fields are accessed through the API, offsets must be kept in sync 1139 // These fields are accessed through the API, offsets must be kept in sync
1138 // with v8::internal::Internals (in include/v8.h) constants. This is also 1140 // with v8::internal::Internals (in include/v8.h) constants. This is also
1139 // verified in Isolate::Init() using runtime checks. 1141 // verified in Isolate::Init() using runtime checks.
1140 void* embedder_data_[Internals::kNumIsolateDataSlots]; 1142 void* embedder_data_[Internals::kNumIsolateDataSlots];
1141 Heap heap_; 1143 Heap heap_;
1142 1144
1143 // The per-process lock should be acquired before the ThreadDataTable is 1145 // The per-process lock should be acquired before the ThreadDataTable is
1144 // modified. 1146 // modified.
1145 class ThreadDataTable { 1147 class ThreadDataTable {
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 } 1580 }
1579 1581
1580 EmbeddedVector<char, 128> filename_; 1582 EmbeddedVector<char, 128> filename_;
1581 FILE* file_; 1583 FILE* file_;
1582 int scope_depth_; 1584 int scope_depth_;
1583 }; 1585 };
1584 1586
1585 } } // namespace v8::internal 1587 } } // namespace v8::internal
1586 1588
1587 #endif // V8_ISOLATE_H_ 1589 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698