OLD | NEW |
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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 DONT_KNOW | 371 DONT_KNOW |
372 }; | 372 }; |
373 ConditionAnalysis AnalyzeCondition(Expression* cond); | 373 ConditionAnalysis AnalyzeCondition(Expression* cond); |
374 | 374 |
375 // Methods used to indicate which source code is generated for. Source | 375 // Methods used to indicate which source code is generated for. Source |
376 // positions are collected by the assembler and emitted with the relocation | 376 // positions are collected by the assembler and emitted with the relocation |
377 // information. | 377 // information. |
378 void CodeForFunctionPosition(FunctionLiteral* fun); | 378 void CodeForFunctionPosition(FunctionLiteral* fun); |
379 void CodeForReturnPosition(FunctionLiteral* fun); | 379 void CodeForReturnPosition(FunctionLiteral* fun); |
380 void CodeForStatementPosition(Statement* node); | 380 void CodeForStatementPosition(Statement* node); |
| 381 void CodeForDoWhileConditionPosition(DoWhileStatement* stmt); |
381 void CodeForSourcePosition(int pos); | 382 void CodeForSourcePosition(int pos); |
382 | 383 |
383 #ifdef DEBUG | 384 #ifdef DEBUG |
384 // True if the registers are valid for entry to a block. | 385 // True if the registers are valid for entry to a block. |
385 bool HasValidEntryRegisters(); | 386 bool HasValidEntryRegisters(); |
386 #endif | 387 #endif |
387 | 388 |
388 bool is_eval_; // Tells whether code is generated for eval. | 389 bool is_eval_; // Tells whether code is generated for eval. |
389 | 390 |
390 Handle<Script> script_; | 391 Handle<Script> script_; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 constant_rhs_); | 528 constant_rhs_); |
528 } | 529 } |
529 } | 530 } |
530 #endif | 531 #endif |
531 }; | 532 }; |
532 | 533 |
533 | 534 |
534 } } // namespace v8::internal | 535 } } // namespace v8::internal |
535 | 536 |
536 #endif // V8_ARM_CODEGEN_ARM_H_ | 537 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |