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

Side by Side Diff: src/isolate.h

Issue 1269683002: [interpreter] Adds interpreter cctests. (Closed) Base URL: ssh://rmcilroy.lon.corp.google.com///usr/local/google/code/v8_full/v8@interpreter_builtins
Patch Set: Created 5 years, 4 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 | « no previous file | test/cctest/cctest.gyp » ('j') | test/cctest/interpreter/test-interpreter.cc » ('J')
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 <set> 9 #include <set>
10 10
(...skipping 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 1132
1133 void set_array_buffer_allocator(v8::ArrayBuffer::Allocator* allocator) { 1133 void set_array_buffer_allocator(v8::ArrayBuffer::Allocator* allocator) {
1134 array_buffer_allocator_ = allocator; 1134 array_buffer_allocator_ = allocator;
1135 } 1135 }
1136 v8::ArrayBuffer::Allocator* array_buffer_allocator() const { 1136 v8::ArrayBuffer::Allocator* array_buffer_allocator() const {
1137 return array_buffer_allocator_; 1137 return array_buffer_allocator_;
1138 } 1138 }
1139 1139
1140 FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; } 1140 FutexWaitListNode* futex_wait_list_node() { return &futex_wait_list_node_; }
1141 1141
1142 interpreter::Interpreter* interpreter() const { return interpreter_; }
1143
1142 void RegisterCancelableTask(CancelableTask* task); 1144 void RegisterCancelableTask(CancelableTask* task);
1143 void RemoveCancelableTask(CancelableTask* task); 1145 void RemoveCancelableTask(CancelableTask* task);
1144 1146
1145 protected: 1147 protected:
1146 explicit Isolate(bool enable_serializer); 1148 explicit Isolate(bool enable_serializer);
1147 1149
1148 private: 1150 private:
1149 friend struct GlobalState; 1151 friend struct GlobalState;
1150 friend struct InitializeGlobalState; 1152 friend struct InitializeGlobalState;
1151 Handle<JSObject> SetUpSubregistry(Handle<JSObject> registry, Handle<Map> map, 1153 Handle<JSObject> SetUpSubregistry(Handle<JSObject> registry, Handle<Map> map,
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 } 1604 }
1603 1605
1604 EmbeddedVector<char, 128> filename_; 1606 EmbeddedVector<char, 128> filename_;
1605 FILE* file_; 1607 FILE* file_;
1606 int scope_depth_; 1608 int scope_depth_;
1607 }; 1609 };
1608 1610
1609 } } // namespace v8::internal 1611 } } // namespace v8::internal
1610 1612
1611 #endif // V8_ISOLATE_H_ 1613 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | test/cctest/cctest.gyp » ('j') | test/cctest/interpreter/test-interpreter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698