| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 // true and false label should be made, to optimize fallthrough. | 313 // true and false label should be made, to optimize fallthrough. |
| 314 Condition EmitIsString(Register input, | 314 Condition EmitIsString(Register input, |
| 315 Register temp1, | 315 Register temp1, |
| 316 Label* is_not_string, | 316 Label* is_not_string, |
| 317 SmiCheck check_needed); | 317 SmiCheck check_needed); |
| 318 | 318 |
| 319 // Emits optimized code for %_IsConstructCall(). | 319 // Emits optimized code for %_IsConstructCall(). |
| 320 // Caller should branch on equal condition. | 320 // Caller should branch on equal condition. |
| 321 void EmitIsConstructCall(Register temp); | 321 void EmitIsConstructCall(Register temp); |
| 322 | 322 |
| 323 void EmitLoadFieldOrConstantFunction(Register result, | |
| 324 Register object, | |
| 325 Handle<Map> type, | |
| 326 Handle<String> name, | |
| 327 LEnvironment* env); | |
| 328 | |
| 329 // Emits code for pushing either a tagged constant, a (non-double) | 323 // Emits code for pushing either a tagged constant, a (non-double) |
| 330 // register, or a stack slot operand. | 324 // register, or a stack slot operand. |
| 331 void EmitPushTaggedOperand(LOperand* operand); | 325 void EmitPushTaggedOperand(LOperand* operand); |
| 332 | 326 |
| 333 // Emits optimized code to deep-copy the contents of statically known | 327 // Emits optimized code to deep-copy the contents of statically known |
| 334 // object graphs (e.g. object literal boilerplate). | 328 // object graphs (e.g. object literal boilerplate). |
| 335 void EmitDeepCopy(Handle<JSObject> object, | 329 void EmitDeepCopy(Handle<JSObject> object, |
| 336 Register result, | 330 Register result, |
| 337 Register source, | 331 Register source, |
| 338 int* offset, | 332 int* offset, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 LCodeGen* codegen_; | 429 LCodeGen* codegen_; |
| 436 Label entry_; | 430 Label entry_; |
| 437 Label exit_; | 431 Label exit_; |
| 438 Label* external_exit_; | 432 Label* external_exit_; |
| 439 int instruction_index_; | 433 int instruction_index_; |
| 440 }; | 434 }; |
| 441 | 435 |
| 442 } } // namespace v8::internal | 436 } } // namespace v8::internal |
| 443 | 437 |
| 444 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 438 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |