Revision: 17613
Author: [email protected]
Date: Mon Nov 11 08:07:37 2013 UTC
Log: Remove unused ParserMessage class.
[email protected]
Review URL: https://codereview.chromium.org/52093007
Patch from Adrian Perez de Castro <[email protected]>.
http://code.google.com/p/v8/source/detail?r=17613
Modified:
/branches/bleeding_edge/src/parser.cc
/branches/bleeding_edge/src/parser.h
=======================================
--- /branches/bleeding_edge/src/parser.cc Thu Nov 7 12:08:37 2013 UTC
+++ /branches/bleeding_edge/src/parser.cc Mon Nov 11 08:07:37 2013 UTC
@@ -5547,13 +5547,6 @@
//
----------------------------------------------------------------------------
// The Parser interface.
-ParserMessage::~ParserMessage() {
- for (int i = 0; i < args().length(); i++)
- DeleteArray(args()[i]);
- DeleteArray(args().start());
-}
-
-
ScriptDataImpl::~ScriptDataImpl() {
if (owns_store_) store_.Dispose();
}
=======================================
--- /branches/bleeding_edge/src/parser.h Thu Nov 7 12:08:37 2013 UTC
+++ /branches/bleeding_edge/src/parser.h Mon Nov 11 08:07:37 2013 UTC
@@ -47,24 +47,6 @@
template <typename T> class ZoneListWrapper;
-class ParserMessage : public Malloced {
- public:
- ParserMessage(Scanner::Location loc, const char* message,
- Vector<const char*> args)
- : loc_(loc),
- message_(message),
- args_(args) { }
- ~ParserMessage();
- Scanner::Location location() { return loc_; }
- const char* message() { return message_; }
- Vector<const char*> args() { return args_; }
- private:
- Scanner::Location loc_;
- const char* message_;
- Vector<const char*> args_;
-};
-
-
class FunctionEntry BASE_EMBEDDED {
public:
enum {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.