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

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

Issue 2314483002: Store the ScopeInfo in WithContexts (Closed)
Patch Set: updates Created 4 years, 3 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/compiler/type-hints.h" 8 #include "src/compiler/type-hints.h"
9 #include "src/runtime/runtime.h" 9 #include "src/runtime/runtime.h"
10 10
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 503
504 // Used to implement Ignition's ResumeGenerator bytecode. 504 // Used to implement Ignition's ResumeGenerator bytecode.
505 const Operator* GeneratorRestoreContinuation(); 505 const Operator* GeneratorRestoreContinuation();
506 const Operator* GeneratorRestoreRegister(int index); 506 const Operator* GeneratorRestoreRegister(int index);
507 507
508 const Operator* StackCheck(); 508 const Operator* StackCheck();
509 509
510 const Operator* CreateFunctionContext(int slot_count); 510 const Operator* CreateFunctionContext(int slot_count);
511 const Operator* CreateCatchContext(const Handle<String>& name, 511 const Operator* CreateCatchContext(const Handle<String>& name,
512 const Handle<ScopeInfo>& scope_info); 512 const Handle<ScopeInfo>& scope_info);
513 const Operator* CreateWithContext(); 513 const Operator* CreateWithContext(const Handle<ScopeInfo>& scope_info);
514 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info); 514 const Operator* CreateBlockContext(const Handle<ScopeInfo>& scpope_info);
515 const Operator* CreateModuleContext(); 515 const Operator* CreateModuleContext();
516 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info); 516 const Operator* CreateScriptContext(const Handle<ScopeInfo>& scpope_info);
517 517
518 private: 518 private:
519 Zone* zone() const { return zone_; } 519 Zone* zone() const { return zone_; }
520 520
521 const JSOperatorGlobalCache& cache_; 521 const JSOperatorGlobalCache& cache_;
522 Zone* const zone_; 522 Zone* const zone_;
523 523
524 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 524 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
525 }; 525 };
526 526
527 } // namespace compiler 527 } // namespace compiler
528 } // namespace internal 528 } // namespace internal
529 } // namespace v8 529 } // namespace v8
530 530
531 #endif // V8_COMPILER_JS_OPERATOR_H_ 531 #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