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

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: Use BytecodeArrayBuilder and drop all but Return test. 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
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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void RegisterCancelableTask(Cancelable* task); 1142 void RegisterCancelableTask(Cancelable* task);
1143 void RemoveCancelableTask(Cancelable* task); 1143 void RemoveCancelableTask(Cancelable* task);
1144 1144
1145 interpreter::Interpreter* interpreter() const { return interpreter_; }
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,
1152 const char* name); 1154 const char* name);
1153 1155
1154 // These fields are accessed through the API, offsets must be kept in sync 1156 // These fields are accessed through the API, offsets must be kept in sync
(...skipping 447 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

Powered by Google App Engine
This is Rietveld 408576698