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

Side by Side Diff: src/compiler/js-operator.h

Issue 981243002: [turbofan] Introduce JSStackCheck operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. Created 5 years, 9 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/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.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 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(); 255 const Operator* Debugger();
256 256
257 const Operator* StackCheck();
258
257 // TODO(titzer): nail down the static parts of each of these context flavors. 259 // TODO(titzer): nail down the static parts of each of these context flavors.
258 const Operator* CreateFunctionContext(); 260 const Operator* CreateFunctionContext();
259 const Operator* CreateCatchContext(const Unique<String>& name); 261 const Operator* CreateCatchContext(const Unique<String>& name);
260 const Operator* CreateWithContext(); 262 const Operator* CreateWithContext();
261 const Operator* CreateBlockContext(); 263 const Operator* CreateBlockContext();
262 const Operator* CreateModuleContext(); 264 const Operator* CreateModuleContext();
263 const Operator* CreateScriptContext(); 265 const Operator* CreateScriptContext();
264 266
265 private: 267 private:
266 Zone* zone() const { return zone_; } 268 Zone* zone() const { return zone_; }
267 269
268 const JSOperatorGlobalCache& cache_; 270 const JSOperatorGlobalCache& cache_;
269 Zone* const zone_; 271 Zone* const zone_;
270 272
271 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 273 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
272 }; 274 };
273 275
274 } // namespace compiler 276 } // namespace compiler
275 } // namespace internal 277 } // namespace internal
276 } // namespace v8 278 } // namespace v8
277 279
278 #endif // V8_COMPILER_JS_OPERATOR_H_ 280 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698