| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 Register input, | 264 Register input, |
| 265 Handle<String> type_name); | 265 Handle<String> type_name); |
| 266 | 266 |
| 267 // Emits optimized code for %_IsObject(x). Preserves input register. | 267 // Emits optimized code for %_IsObject(x). Preserves input register. |
| 268 // Returns the condition on which a final split to | 268 // Returns the condition on which a final split to |
| 269 // true and false label should be made, to optimize fallthrough. | 269 // true and false label should be made, to optimize fallthrough. |
| 270 Condition EmitIsObject(Register input, | 270 Condition EmitIsObject(Register input, |
| 271 Label* is_not_object, | 271 Label* is_not_object, |
| 272 Label* is_object); | 272 Label* is_object); |
| 273 | 273 |
| 274 // Emits optimized code for %_IsString(x). Preserves input register. |
| 275 // Returns the condition on which a final split to |
| 276 // true and false label should be made, to optimize fallthrough. |
| 277 Condition EmitIsString(Register input, |
| 278 Label* is_not_object, |
| 279 Label* is_object); |
| 280 |
| 274 // Emits optimized code for %_IsConstructCall(). | 281 // Emits optimized code for %_IsConstructCall(). |
| 275 // Caller should branch on equal condition. | 282 // Caller should branch on equal condition. |
| 276 void EmitIsConstructCall(Register temp); | 283 void EmitIsConstructCall(Register temp); |
| 277 | 284 |
| 278 void EmitLoadFieldOrConstantFunction(Register result, | 285 void EmitLoadFieldOrConstantFunction(Register result, |
| 279 Register object, | 286 Register object, |
| 280 Handle<Map> type, | 287 Handle<Map> type, |
| 281 Handle<String> name); | 288 Handle<String> name); |
| 282 | 289 |
| 283 // Emits code for pushing either a tagged constant, a (non-double) | 290 // Emits code for pushing either a tagged constant, a (non-double) |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 LCodeGen* codegen_; | 377 LCodeGen* codegen_; |
| 371 Label entry_; | 378 Label entry_; |
| 372 Label exit_; | 379 Label exit_; |
| 373 Label* external_exit_; | 380 Label* external_exit_; |
| 374 int instruction_index_; | 381 int instruction_index_; |
| 375 }; | 382 }; |
| 376 | 383 |
| 377 } } // namespace v8::internal | 384 } } // namespace v8::internal |
| 378 | 385 |
| 379 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 386 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |