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

Side by Side Diff: src/parser.cc

Issue 3413015: Remove unused variable from Scanner class. (Closed) Base URL: git://github.com/v8/v8.git
Patch Set: Created 10 years, 3 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
« no previous file with comments | « no previous file | src/scanner.h » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 // Implementation of Parser 1432 // Implementation of Parser
1433 1433
1434 Parser::Parser(Handle<Script> script, 1434 Parser::Parser(Handle<Script> script,
1435 bool allow_natives_syntax, 1435 bool allow_natives_syntax,
1436 v8::Extension* extension, 1436 v8::Extension* extension,
1437 ParserMode is_pre_parsing, 1437 ParserMode is_pre_parsing,
1438 ParserFactory* factory, 1438 ParserFactory* factory,
1439 ParserLog* log, 1439 ParserLog* log,
1440 ScriptDataImpl* pre_data) 1440 ScriptDataImpl* pre_data)
1441 : script_(script), 1441 : script_(script),
1442 scanner_(is_pre_parsing), 1442 scanner_(),
1443 top_scope_(NULL), 1443 top_scope_(NULL),
1444 with_nesting_level_(0), 1444 with_nesting_level_(0),
1445 temp_scope_(NULL), 1445 temp_scope_(NULL),
1446 target_stack_(NULL), 1446 target_stack_(NULL),
1447 allow_natives_syntax_(allow_natives_syntax), 1447 allow_natives_syntax_(allow_natives_syntax),
1448 extension_(extension), 1448 extension_(extension),
1449 factory_(factory), 1449 factory_(factory),
1450 log_(log), 1450 log_(log),
1451 is_pre_parsing_(is_pre_parsing == PREPARSE), 1451 is_pre_parsing_(is_pre_parsing == PREPARSE),
1452 pre_data_(pre_data), 1452 pre_data_(pre_data),
(...skipping 4117 matching lines...) Expand 10 before | Expand all | Expand 10 after
5570 parser.ParseLazy(script_source, name, 5570 parser.ParseLazy(script_source, name,
5571 start_position, end_position, is_expression); 5571 start_position, end_position, is_expression);
5572 return result; 5572 return result;
5573 } 5573 }
5574 5574
5575 5575
5576 #undef NEW 5576 #undef NEW
5577 5577
5578 5578
5579 } } // namespace v8::internal 5579 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/scanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698