| 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 // true and false label should be made, to optimize fallthrough. | 304 // true and false label should be made, to optimize fallthrough. |
| 305 Condition EmitIsObject(Register input, | 305 Condition EmitIsObject(Register input, |
| 306 Label* is_not_object, | 306 Label* is_not_object, |
| 307 Label* is_object); | 307 Label* is_object); |
| 308 | 308 |
| 309 // Emits optimized code for %_IsString(x). Preserves input register. | 309 // Emits optimized code for %_IsString(x). Preserves input register. |
| 310 // Returns the condition on which a final split to | 310 // Returns the condition on which a final split to |
| 311 // true and false label should be made, to optimize fallthrough. | 311 // true and false label should be made, to optimize fallthrough. |
| 312 Condition EmitIsString(Register input, | 312 Condition EmitIsString(Register input, |
| 313 Register temp1, | 313 Register temp1, |
| 314 Label* is_not_string); | 314 Label* is_not_string, |
| 315 SmiCheck check_needed); |
| 315 | 316 |
| 316 // Emits optimized code for %_IsConstructCall(). | 317 // Emits optimized code for %_IsConstructCall(). |
| 317 // Caller should branch on equal condition. | 318 // Caller should branch on equal condition. |
| 318 void EmitIsConstructCall(Register temp); | 319 void EmitIsConstructCall(Register temp); |
| 319 | 320 |
| 320 void EmitLoadFieldOrConstantFunction(Register result, | 321 void EmitLoadFieldOrConstantFunction(Register result, |
| 321 Register object, | 322 Register object, |
| 322 Handle<Map> type, | 323 Handle<Map> type, |
| 323 Handle<String> name, | 324 Handle<String> name, |
| 324 LEnvironment* env); | 325 LEnvironment* env); |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 LCodeGen* codegen_; | 426 LCodeGen* codegen_; |
| 426 Label entry_; | 427 Label entry_; |
| 427 Label exit_; | 428 Label exit_; |
| 428 Label* external_exit_; | 429 Label* external_exit_; |
| 429 int instruction_index_; | 430 int instruction_index_; |
| 430 }; | 431 }; |
| 431 | 432 |
| 432 } } // namespace v8::internal | 433 } } // namespace v8::internal |
| 433 | 434 |
| 434 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 435 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |