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

Side by Side Diff: src/ast.h

Issue 133683002: Retry "Templatise type representation" after making clang happy (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/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 // 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 2050 matching lines...) Expand 10 before | Expand all | Expand 10 after
2061 protected: 2061 protected:
2062 CompareOperation(Isolate* isolate, 2062 CompareOperation(Isolate* isolate,
2063 Token::Value op, 2063 Token::Value op,
2064 Expression* left, 2064 Expression* left,
2065 Expression* right, 2065 Expression* right,
2066 int pos) 2066 int pos)
2067 : Expression(isolate, pos), 2067 : Expression(isolate, pos),
2068 op_(op), 2068 op_(op),
2069 left_(left), 2069 left_(left),
2070 right_(right), 2070 right_(right),
2071 combined_type_(Type::None(), isolate) { 2071 combined_type_(Type::None(isolate)) {
2072 ASSERT(Token::IsCompareOp(op)); 2072 ASSERT(Token::IsCompareOp(op));
2073 } 2073 }
2074 2074
2075 private: 2075 private:
2076 Token::Value op_; 2076 Token::Value op_;
2077 Expression* left_; 2077 Expression* left_;
2078 Expression* right_; 2078 Expression* right_;
2079 2079
2080 Handle<Type> combined_type_; 2080 Handle<Type> combined_type_;
2081 }; 2081 };
(...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after
3299 private: 3299 private:
3300 Isolate* isolate_; 3300 Isolate* isolate_;
3301 Zone* zone_; 3301 Zone* zone_;
3302 Visitor visitor_; 3302 Visitor visitor_;
3303 }; 3303 };
3304 3304
3305 3305
3306 } } // namespace v8::internal 3306 } } // namespace v8::internal
3307 3307
3308 #endif // V8_AST_H_ 3308 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698