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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 Handle<String> type_name); | 277 Handle<String> type_name); |
278 | 278 |
279 // Emits optimized code for %_IsObject(x). Preserves input register. | 279 // Emits optimized code for %_IsObject(x). Preserves input register. |
280 // Returns the condition on which a final split to | 280 // Returns the condition on which a final split to |
281 // true and false label should be made, to optimize fallthrough. | 281 // true and false label should be made, to optimize fallthrough. |
282 Condition EmitIsObject(Register input, | 282 Condition EmitIsObject(Register input, |
283 Register temp1, | 283 Register temp1, |
284 Label* is_not_object, | 284 Label* is_not_object, |
285 Label* is_object); | 285 Label* is_object); |
286 | 286 |
| 287 // Emits optimized code for %_IsString(x). Preserves input register. |
| 288 // Returns the condition on which a final split to |
| 289 // true and false label should be made, to optimize fallthrough. |
| 290 Condition EmitIsString(Register input, |
| 291 Register temp1, |
| 292 Label* is_not_string); |
| 293 |
287 // Emits optimized code for %_IsConstructCall(). | 294 // Emits optimized code for %_IsConstructCall(). |
288 // Caller should branch on equal condition. | 295 // Caller should branch on equal condition. |
289 void EmitIsConstructCall(Register temp1, Register temp2); | 296 void EmitIsConstructCall(Register temp1, Register temp2); |
290 | 297 |
291 void EmitLoadFieldOrConstantFunction(Register result, | 298 void EmitLoadFieldOrConstantFunction(Register result, |
292 Register object, | 299 Register object, |
293 Handle<Map> type, | 300 Handle<Map> type, |
294 Handle<String> name); | 301 Handle<String> name); |
295 | 302 |
296 struct JumpTableEntry { | 303 struct JumpTableEntry { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 LCodeGen* codegen_; | 410 LCodeGen* codegen_; |
404 Label entry_; | 411 Label entry_; |
405 Label exit_; | 412 Label exit_; |
406 Label* external_exit_; | 413 Label* external_exit_; |
407 int instruction_index_; | 414 int instruction_index_; |
408 }; | 415 }; |
409 | 416 |
410 } } // namespace v8::internal | 417 } } // namespace v8::internal |
411 | 418 |
412 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 419 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |