OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_COMPILER_JS_OPERATOR_H_ | 5 #ifndef V8_COMPILER_JS_OPERATOR_H_ |
6 #define V8_COMPILER_JS_OPERATOR_H_ | 6 #define V8_COMPILER_JS_OPERATOR_H_ |
7 | 7 |
8 #include "src/runtime/runtime.h" | 8 #include "src/runtime/runtime.h" |
9 #include "src/unique.h" | 9 #include "src/unique.h" |
10 | 10 |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 | 245 |
246 const Operator* DeleteProperty(LanguageMode language_mode); | 246 const Operator* DeleteProperty(LanguageMode language_mode); |
247 | 247 |
248 const Operator* HasProperty(); | 248 const Operator* HasProperty(); |
249 | 249 |
250 const Operator* LoadContext(size_t depth, size_t index, bool immutable); | 250 const Operator* LoadContext(size_t depth, size_t index, bool immutable); |
251 const Operator* StoreContext(size_t depth, size_t index); | 251 const Operator* StoreContext(size_t depth, size_t index); |
252 | 252 |
253 const Operator* TypeOf(); | 253 const Operator* TypeOf(); |
254 const Operator* InstanceOf(); | 254 const Operator* InstanceOf(); |
255 const Operator* Debugger(); | |
256 | 255 |
257 const Operator* StackCheck(); | 256 const Operator* StackCheck(); |
258 | 257 |
259 // TODO(titzer): nail down the static parts of each of these context flavors. | 258 // TODO(titzer): nail down the static parts of each of these context flavors. |
260 const Operator* CreateFunctionContext(); | 259 const Operator* CreateFunctionContext(); |
261 const Operator* CreateCatchContext(const Unique<String>& name); | 260 const Operator* CreateCatchContext(const Unique<String>& name); |
262 const Operator* CreateWithContext(); | 261 const Operator* CreateWithContext(); |
263 const Operator* CreateBlockContext(); | 262 const Operator* CreateBlockContext(); |
264 const Operator* CreateModuleContext(); | 263 const Operator* CreateModuleContext(); |
265 const Operator* CreateScriptContext(); | 264 const Operator* CreateScriptContext(); |
266 | 265 |
267 private: | 266 private: |
268 Zone* zone() const { return zone_; } | 267 Zone* zone() const { return zone_; } |
269 | 268 |
270 const JSOperatorGlobalCache& cache_; | 269 const JSOperatorGlobalCache& cache_; |
271 Zone* const zone_; | 270 Zone* const zone_; |
272 | 271 |
273 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 272 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
274 }; | 273 }; |
275 | 274 |
276 } // namespace compiler | 275 } // namespace compiler |
277 } // namespace internal | 276 } // namespace internal |
278 } // namespace v8 | 277 } // namespace v8 |
279 | 278 |
280 #endif // V8_COMPILER_JS_OPERATOR_H_ | 279 #endif // V8_COMPILER_JS_OPERATOR_H_ |
OLD | NEW |