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

Side by Side Diff: src/arm/codegen-arm.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 | « no previous file | src/ast.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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 enum MathOp { SIN, COS }; 367 enum MathOp { SIN, COS };
368 void GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args); 368 void GenerateFastMathOp(MathOp op, ZoneList<Expression*>* args);
369 inline void GenerateMathSin(ZoneList<Expression*>* args); 369 inline void GenerateMathSin(ZoneList<Expression*>* args);
370 inline void GenerateMathCos(ZoneList<Expression*>* args); 370 inline void GenerateMathCos(ZoneList<Expression*>* args);
371 371
372 // Methods used to indicate which source code is generated for. Source 372 // Methods used to indicate which source code is generated for. Source
373 // positions are collected by the assembler and emitted with the relocation 373 // positions are collected by the assembler and emitted with the relocation
374 // information. 374 // information.
375 void CodeForFunctionPosition(FunctionLiteral* fun); 375 void CodeForFunctionPosition(FunctionLiteral* fun);
376 void CodeForReturnPosition(FunctionLiteral* fun); 376 void CodeForReturnPosition(FunctionLiteral* fun);
377 void CodeForStatementPosition(Node* node); 377 void CodeForStatementPosition(AstNode* node);
378 void CodeForSourcePosition(int pos); 378 void CodeForSourcePosition(int pos);
379 379
380 #ifdef DEBUG 380 #ifdef DEBUG
381 // True if the registers are valid for entry to a block. 381 // True if the registers are valid for entry to a block.
382 bool HasValidEntryRegisters(); 382 bool HasValidEntryRegisters();
383 #endif 383 #endif
384 384
385 bool is_eval_; // Tells whether code is generated for eval. 385 bool is_eval_; // Tells whether code is generated for eval.
386 386
387 Handle<Script> script_; 387 Handle<Script> script_;
(...skipping 29 matching lines...) Expand all
417 friend class JumpTarget; 417 friend class JumpTarget;
418 friend class Reference; 418 friend class Reference;
419 419
420 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 420 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
421 }; 421 };
422 422
423 423
424 } } // namespace v8::internal 424 } } // namespace v8::internal
425 425
426 #endif // V8_ARM_CODEGEN_ARM_H_ 426 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698