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

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

Issue 159632: Change the overly-general class named Node to the more specific... (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/codegen.cc ('k') | 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 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 enum MathOp { SIN, COS }; 551 enum MathOp { SIN, COS };
552 void GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args); 552 void GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args);
553 inline void GenerateMathSin(ZoneList<Expression*>* args); 553 inline void GenerateMathSin(ZoneList<Expression*>* args);
554 inline void GenerateMathCos(ZoneList<Expression*>* args); 554 inline void GenerateMathCos(ZoneList<Expression*>* args);
555 555
556 // Methods used to indicate which source code is generated for. Source 556 // Methods used to indicate which source code is generated for. Source
557 // positions are collected by the assembler and emitted with the relocation 557 // positions are collected by the assembler and emitted with the relocation
558 // information. 558 // information.
559 void CodeForFunctionPosition(FunctionLiteral* fun); 559 void CodeForFunctionPosition(FunctionLiteral* fun);
560 void CodeForReturnPosition(FunctionLiteral* fun); 560 void CodeForReturnPosition(FunctionLiteral* fun);
561 void CodeForStatementPosition(Node* node); 561 void CodeForStatementPosition(AstNode* node);
562 void CodeForSourcePosition(int pos); 562 void CodeForSourcePosition(int pos);
563 563
564 #ifdef DEBUG 564 #ifdef DEBUG
565 // True if the registers are valid for entry to a block. There should 565 // True if the registers are valid for entry to a block. There should
566 // be no frame-external references to (non-reserved) registers. 566 // be no frame-external references to (non-reserved) registers.
567 bool HasValidEntryRegisters(); 567 bool HasValidEntryRegisters();
568 #endif 568 #endif
569 569
570 bool is_eval_; // Tells whether code is generated for eval. 570 bool is_eval_; // Tells whether code is generated for eval.
571 Handle<Script> script_; 571 Handle<Script> script_;
(...skipping 33 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/codegen.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698