| 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 | |
| 281 // Emits optimized code for %_IsConstructCall(). | 274 // Emits optimized code for %_IsConstructCall(). |
| 282 // Caller should branch on equal condition. | 275 // Caller should branch on equal condition. |
| 283 void EmitIsConstructCall(Register temp); | 276 void EmitIsConstructCall(Register temp); |
| 284 | 277 |
| 285 void EmitLoadFieldOrConstantFunction(Register result, | 278 void EmitLoadFieldOrConstantFunction(Register result, |
| 286 Register object, | 279 Register object, |
| 287 Handle<Map> type, | 280 Handle<Map> type, |
| 288 Handle<String> name); | 281 Handle<String> name); |
| 289 | 282 |
| 290 // Emits code for pushing either a tagged constant, a (non-double) | 283 // Emits code for pushing either a tagged constant, a (non-double) |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 LCodeGen* codegen_; | 370 LCodeGen* codegen_; |
| 378 Label entry_; | 371 Label entry_; |
| 379 Label exit_; | 372 Label exit_; |
| 380 Label* external_exit_; | 373 Label* external_exit_; |
| 381 int instruction_index_; | 374 int instruction_index_; |
| 382 }; | 375 }; |
| 383 | 376 |
| 384 } } // namespace v8::internal | 377 } } // namespace v8::internal |
| 385 | 378 |
| 386 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 379 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |