| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 132   // Try to generate code for the entire chunk, but it may fail if the | 132   // Try to generate code for the entire chunk, but it may fail if the | 
| 133   // chunk contains constructs we cannot handle. Returns true if the | 133   // chunk contains constructs we cannot handle. Returns true if the | 
| 134   // code generation attempt succeeded. | 134   // code generation attempt succeeded. | 
| 135   bool GenerateCode(); | 135   bool GenerateCode(); | 
| 136 | 136 | 
| 137   // Finish the code by setting stack height, safepoint, and bailout | 137   // Finish the code by setting stack height, safepoint, and bailout | 
| 138   // information on it. | 138   // information on it. | 
| 139   void FinishCode(Handle<Code> code); | 139   void FinishCode(Handle<Code> code); | 
| 140 | 140 | 
| 141   // Deferred code support. | 141   // Deferred code support. | 
| 142   void DoDeferredBinaryOpStub(LPointerMap* pointer_map, |  | 
| 143                               LOperand* left_argument, |  | 
| 144                               LOperand* right_argument, |  | 
| 145                               Token::Value op); |  | 
| 146   void DoDeferredNumberTagD(LNumberTagD* instr); | 142   void DoDeferredNumberTagD(LNumberTagD* instr); | 
| 147 | 143 | 
| 148   enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; | 144   enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; | 
| 149   void DoDeferredNumberTagI(LInstruction* instr, | 145   void DoDeferredNumberTagI(LInstruction* instr, | 
| 150                             LOperand* value, | 146                             LOperand* value, | 
| 151                             IntegerSignedness signedness); | 147                             IntegerSignedness signedness); | 
| 152 | 148 | 
| 153   void DoDeferredTaggedToI(LTaggedToI* instr); | 149   void DoDeferredTaggedToI(LTaggedToI* instr); | 
| 154   void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); | 150   void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); | 
| 155   void DoDeferredStackCheck(LStackCheck* instr); | 151   void DoDeferredStackCheck(LStackCheck* instr); | 
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 502   LCodeGen* codegen_; | 498   LCodeGen* codegen_; | 
| 503   Label entry_; | 499   Label entry_; | 
| 504   Label exit_; | 500   Label exit_; | 
| 505   Label* external_exit_; | 501   Label* external_exit_; | 
| 506   int instruction_index_; | 502   int instruction_index_; | 
| 507 }; | 503 }; | 
| 508 | 504 | 
| 509 } }  // namespace v8::internal | 505 } }  // namespace v8::internal | 
| 510 | 506 | 
| 511 #endif  // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 507 #endif  // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 
| OLD | NEW | 
|---|