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

Side by Side Diff: src/typing.h

Issue 16361015: Migrate Compare ICs to new type rep (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comments Created 7 years, 6 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 | « src/types.cc ('k') | src/typing.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 // 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 25 matching lines...) Expand all
36 #include "type-info.h" 36 #include "type-info.h"
37 #include "zone.h" 37 #include "zone.h"
38 #include "scopes.h" 38 #include "scopes.h"
39 39
40 namespace v8 { 40 namespace v8 {
41 namespace internal { 41 namespace internal {
42 42
43 43
44 class AstTyper: public AstVisitor { 44 class AstTyper: public AstVisitor {
45 public: 45 public:
46 static void Type(CompilationInfo* info); 46 static void Run(CompilationInfo* info);
47 47
48 void* operator new(size_t size, Zone* zone) { 48 void* operator new(size_t size, Zone* zone) {
49 return zone->New(static_cast<int>(size)); 49 return zone->New(static_cast<int>(size));
50 } 50 }
51 void operator delete(void* pointer, Zone* zone) { } 51 void operator delete(void* pointer, Zone* zone) { }
52 void operator delete(void* pointer) { } 52 void operator delete(void* pointer) { }
53 53
54 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); 54 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
55 55
56 private: 56 private:
(...skipping 11 matching lines...) Expand all
68 #define DECLARE_VISIT(type) virtual void Visit##type(type* node); 68 #define DECLARE_VISIT(type) virtual void Visit##type(type* node);
69 AST_NODE_LIST(DECLARE_VISIT) 69 AST_NODE_LIST(DECLARE_VISIT)
70 #undef DECLARE_VISIT 70 #undef DECLARE_VISIT
71 71
72 DISALLOW_COPY_AND_ASSIGN(AstTyper); 72 DISALLOW_COPY_AND_ASSIGN(AstTyper);
73 }; 73 };
74 74
75 } } // namespace v8::internal 75 } } // namespace v8::internal
76 76
77 #endif // V8_TYPING_H_ 77 #endif // V8_TYPING_H_
OLDNEW
« no previous file with comments | « src/types.cc ('k') | src/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698