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

Side by Side Diff: src/ast.h

Issue 366030: Remove an unused enumeration value. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/prettyprinter.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 // An indexed slot in a heap context. index() is the 945 // An indexed slot in a heap context. index() is the
946 // variable index in the context object on the heap, 946 // variable index in the context object on the heap,
947 // starting at 0. var()->scope() is the corresponding 947 // starting at 0. var()->scope() is the corresponding
948 // scope. 948 // scope.
949 CONTEXT, 949 CONTEXT,
950 950
951 // A named slot in a heap context. var()->name() is the 951 // A named slot in a heap context. var()->name() is the
952 // variable name in the context object on the heap, 952 // variable name in the context object on the heap,
953 // with lookup starting at the current context. index() 953 // with lookup starting at the current context. index()
954 // is invalid. 954 // is invalid.
955 LOOKUP, 955 LOOKUP
956
957 // A property in the global object. var()->name() is
958 // the property name.
959 GLOBAL
960 }; 956 };
961 957
962 Slot(Variable* var, Type type, int index) 958 Slot(Variable* var, Type type, int index)
963 : var_(var), type_(type), index_(index) { 959 : var_(var), type_(type), index_(index) {
964 ASSERT(var != NULL); 960 ASSERT(var != NULL);
965 } 961 }
966 962
967 virtual void Accept(AstVisitor* v); 963 virtual void Accept(AstVisitor* v);
968 964
969 // Type testing & conversion 965 // Type testing & conversion
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 #undef DEF_VISIT 1780 #undef DEF_VISIT
1785 1781
1786 private: 1782 private:
1787 bool stack_overflow_; 1783 bool stack_overflow_;
1788 }; 1784 };
1789 1785
1790 1786
1791 } } // namespace v8::internal 1787 } } // namespace v8::internal
1792 1788
1793 #endif // V8_AST_H_ 1789 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698