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

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

Issue 246019: Move the per-ast-node statement position to only statement node types.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 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/ia32/codegen-ia32.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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 enum MathOp { SIN, COS }; 546 enum MathOp { SIN, COS };
547 void GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args); 547 void GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args);
548 inline void GenerateMathSin(ZoneList<Expression*>* args); 548 inline void GenerateMathSin(ZoneList<Expression*>* args);
549 inline void GenerateMathCos(ZoneList<Expression*>* args); 549 inline void GenerateMathCos(ZoneList<Expression*>* args);
550 550
551 // Methods used to indicate which source code is generated for. Source 551 // Methods used to indicate which source code is generated for. Source
552 // positions are collected by the assembler and emitted with the relocation 552 // positions are collected by the assembler and emitted with the relocation
553 // information. 553 // information.
554 void CodeForFunctionPosition(FunctionLiteral* fun); 554 void CodeForFunctionPosition(FunctionLiteral* fun);
555 void CodeForReturnPosition(FunctionLiteral* fun); 555 void CodeForReturnPosition(FunctionLiteral* fun);
556 void CodeForStatementPosition(AstNode* node); 556 void CodeForStatementPosition(Statement* stmt);
557 void CodeForSourcePosition(int pos); 557 void CodeForSourcePosition(int pos);
558 558
559 #ifdef DEBUG 559 #ifdef DEBUG
560 // True if the registers are valid for entry to a block. There should 560 // True if the registers are valid for entry to a block. There should
561 // be no frame-external references to (non-reserved) registers. 561 // be no frame-external references to (non-reserved) registers.
562 bool HasValidEntryRegisters(); 562 bool HasValidEntryRegisters();
563 #endif 563 #endif
564 564
565 bool is_eval_; // Tells whether code is generated for eval. 565 bool is_eval_; // Tells whether code is generated for eval.
566 Handle<Script> script_; 566 Handle<Script> script_;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 | FlagBits::encode(flags_) 655 | FlagBits::encode(flags_)
656 | SSE3Bits::encode(use_sse3_); 656 | SSE3Bits::encode(use_sse3_);
657 } 657 }
658 void Generate(MacroAssembler* masm); 658 void Generate(MacroAssembler* masm);
659 }; 659 };
660 660
661 661
662 } } // namespace v8::internal 662 } } // namespace v8::internal
663 663
664 #endif // V8_IA32_CODEGEN_IA32_H_ 664 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698