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

Side by Side Diff: src/ia32/codegen-ia32.h

Issue 159633: Another name change for consistency's sake. NODE_LIST -> AST_NODE_LIST. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 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/ast.cc ('k') | src/prettyprinter.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 // Track loop nesting level. 352 // Track loop nesting level.
353 int loop_nesting() const { return loop_nesting_; } 353 int loop_nesting() const { return loop_nesting_; }
354 void IncrementLoopNesting() { loop_nesting_++; } 354 void IncrementLoopNesting() { loop_nesting_++; }
355 void DecrementLoopNesting() { loop_nesting_--; } 355 void DecrementLoopNesting() { loop_nesting_--; }
356 356
357 // Node visitors. 357 // Node visitors.
358 void VisitStatements(ZoneList<Statement*>* statements); 358 void VisitStatements(ZoneList<Statement*>* statements);
359 359
360 #define DEF_VISIT(type) \ 360 #define DEF_VISIT(type) \
361 void Visit##type(type* node); 361 void Visit##type(type* node);
362 NODE_LIST(DEF_VISIT) 362 AST_NODE_LIST(DEF_VISIT)
363 #undef DEF_VISIT 363 #undef DEF_VISIT
364 364
365 // Visit a statement and then spill the virtual frame if control flow can 365 // Visit a statement and then spill the virtual frame if control flow can
366 // reach the end of the statement (ie, it does not exit via break, 366 // reach the end of the statement (ie, it does not exit via break,
367 // continue, return, or throw). This function is used temporarily while 367 // continue, return, or throw). This function is used temporarily while
368 // the code generator is being transformed. 368 // the code generator is being transformed.
369 void VisitAndSpill(Statement* statement); 369 void VisitAndSpill(Statement* statement);
370 370
371 // Visit a list of statements and then spill the virtual frame if control 371 // Visit a list of statements and then spill the virtual frame if control
372 // flow can reach the end of the list. 372 // flow can reach the end of the list.
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 605
606 friend class CodeGeneratorPatcher; // Used in test-log-ia32.cc 606 friend class CodeGeneratorPatcher; // Used in test-log-ia32.cc
607 607
608 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 608 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
609 }; 609 };
610 610
611 611
612 } } // namespace v8::internal 612 } } // namespace v8::internal
613 613
614 #endif // V8_IA32_CODEGEN_IA32_H_ 614 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/prettyprinter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698