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

Side by Side Diff: src/parser.h

Issue 52093007: Remove unused ParserMessage class. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/parser.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 29 matching lines...) Expand all
40 40
41 class CompilationInfo; 41 class CompilationInfo;
42 class FuncNameInferrer; 42 class FuncNameInferrer;
43 class ParserLog; 43 class ParserLog;
44 class PositionStack; 44 class PositionStack;
45 class Target; 45 class Target;
46 46
47 template <typename T> class ZoneListWrapper; 47 template <typename T> class ZoneListWrapper;
48 48
49 49
50 class ParserMessage : public Malloced {
51 public:
52 ParserMessage(Scanner::Location loc, const char* message,
53 Vector<const char*> args)
54 : loc_(loc),
55 message_(message),
56 args_(args) { }
57 ~ParserMessage();
58 Scanner::Location location() { return loc_; }
59 const char* message() { return message_; }
60 Vector<const char*> args() { return args_; }
61 private:
62 Scanner::Location loc_;
63 const char* message_;
64 Vector<const char*> args_;
65 };
66
67
68 class FunctionEntry BASE_EMBEDDED { 50 class FunctionEntry BASE_EMBEDDED {
69 public: 51 public:
70 enum { 52 enum {
71 kStartPositionIndex, 53 kStartPositionIndex,
72 kEndPositionIndex, 54 kEndPositionIndex,
73 kLiteralCountIndex, 55 kLiteralCountIndex,
74 kPropertyCountIndex, 56 kPropertyCountIndex,
75 kLanguageModeIndex, 57 kLanguageModeIndex,
76 kSize 58 kSize
77 }; 59 };
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 private: 829 private:
848 static const int kLiteralTypeSlot = 0; 830 static const int kLiteralTypeSlot = 0;
849 static const int kElementsSlot = 1; 831 static const int kElementsSlot = 1;
850 832
851 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); 833 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue);
852 }; 834 };
853 835
854 } } // namespace v8::internal 836 } } // namespace v8::internal
855 837
856 #endif // V8_PARSER_H_ 838 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698