| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 void EmitBranch(int left_block, int right_block, Condition cc); | 265 void EmitBranch(int left_block, int right_block, Condition cc); |
| 266 void EmitCmpI(LOperand* left, LOperand* right); | 266 void EmitCmpI(LOperand* left, LOperand* right); |
| 267 void EmitNumberUntagD(Register input, | 267 void EmitNumberUntagD(Register input, |
| 268 DoubleRegister result, | 268 DoubleRegister result, |
| 269 bool deoptimize_on_undefined, | 269 bool deoptimize_on_undefined, |
| 270 LEnvironment* env); | 270 LEnvironment* env); |
| 271 | 271 |
| 272 // Emits optimized code for typeof x == "y". Modifies input register. | 272 // Emits optimized code for typeof x == "y". Modifies input register. |
| 273 // Returns the condition on which a final split to | 273 // Returns the condition on which a final split to |
| 274 // true and false label should be made, to optimize fallthrough. | 274 // true and false label should be made, to optimize fallthrough. |
| 275 Condition EmitTypeofIs(Label* true_label, Label* false_label, | 275 Condition EmitTypeofIs(Label* true_label, |
| 276 Register input, Handle<String> type_name); | 276 Label* false_label, |
| 277 Register input, |
| 278 Handle<String> type_name); |
| 277 | 279 |
| 278 // Emits optimized code for %_IsObject(x). Preserves input register. | 280 // Emits optimized code for %_IsObject(x). Preserves input register. |
| 279 // Returns the condition on which a final split to | 281 // Returns the condition on which a final split to |
| 280 // true and false label should be made, to optimize fallthrough. | 282 // true and false label should be made, to optimize fallthrough. |
| 281 Condition EmitIsObject(Register input, | 283 Condition EmitIsObject(Register input, |
| 282 Register temp1, | 284 Register temp1, |
| 283 Label* is_not_object, | 285 Label* is_not_object, |
| 284 Label* is_object); | 286 Label* is_object); |
| 285 | 287 |
| 286 // Emits optimized code for %_IsConstructCall(). | 288 // Emits optimized code for %_IsConstructCall(). |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 LCodeGen* codegen_; | 401 LCodeGen* codegen_; |
| 400 Label entry_; | 402 Label entry_; |
| 401 Label exit_; | 403 Label exit_; |
| 402 Label* external_exit_; | 404 Label* external_exit_; |
| 403 int instruction_index_; | 405 int instruction_index_; |
| 404 }; | 406 }; |
| 405 | 407 |
| 406 } } // namespace v8::internal | 408 } } // namespace v8::internal |
| 407 | 409 |
| 408 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 410 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |