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

Side by Side Diff: src/ast/ast.h

Issue 2480253006: Only treat lookup-slot-calls going through 'with' special (Closed)
Patch Set: rebaseline expectations Created 4 years, 1 month 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 | src/ast/ast.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 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_AST_AST_H_ 5 #ifndef V8_AST_AST_H_
6 #define V8_AST_AST_H_ 6 #define V8_AST_AST_H_
7 7
8 #include "src/ast/ast-types.h" 8 #include "src/ast/ast-types.h"
9 #include "src/ast/ast-value-factory.h" 9 #include "src/ast/ast-value-factory.h"
10 #include "src/ast/modules.h" 10 #include "src/ast/modules.h"
(...skipping 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after
1895 1895
1896 TailCallMode tail_call_mode() const { 1896 TailCallMode tail_call_mode() const {
1897 return IsTailField::decode(bit_field_) ? TailCallMode::kAllow 1897 return IsTailField::decode(bit_field_) ? TailCallMode::kAllow
1898 : TailCallMode::kDisallow; 1898 : TailCallMode::kDisallow;
1899 } 1899 }
1900 void MarkTail() { bit_field_ = IsTailField::update(bit_field_, true); } 1900 void MarkTail() { bit_field_ = IsTailField::update(bit_field_, true); }
1901 1901
1902 enum CallType { 1902 enum CallType {
1903 POSSIBLY_EVAL_CALL, 1903 POSSIBLY_EVAL_CALL,
1904 GLOBAL_CALL, 1904 GLOBAL_CALL,
1905 LOOKUP_SLOT_CALL, 1905 WITH_CALL,
1906 NAMED_PROPERTY_CALL, 1906 NAMED_PROPERTY_CALL,
1907 KEYED_PROPERTY_CALL, 1907 KEYED_PROPERTY_CALL,
1908 NAMED_SUPER_PROPERTY_CALL, 1908 NAMED_SUPER_PROPERTY_CALL,
1909 KEYED_SUPER_PROPERTY_CALL, 1909 KEYED_SUPER_PROPERTY_CALL,
1910 SUPER_CALL, 1910 SUPER_CALL,
1911 OTHER_CALL 1911 OTHER_CALL
1912 }; 1912 };
1913 1913
1914 enum PossiblyEval { 1914 enum PossiblyEval {
1915 IS_POSSIBLY_EVAL, 1915 IS_POSSIBLY_EVAL,
(...skipping 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after
3603 : NULL; \ 3603 : NULL; \
3604 } 3604 }
3605 AST_NODE_LIST(DECLARE_NODE_FUNCTIONS) 3605 AST_NODE_LIST(DECLARE_NODE_FUNCTIONS)
3606 #undef DECLARE_NODE_FUNCTIONS 3606 #undef DECLARE_NODE_FUNCTIONS
3607 3607
3608 3608
3609 } // namespace internal 3609 } // namespace internal
3610 } // namespace v8 3610 } // namespace v8
3611 3611
3612 #endif // V8_AST_AST_H_ 3612 #endif // V8_AST_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698