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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 Register temp1, | 294 Register temp1, |
295 Label* is_not_string); | 295 Label* is_not_string); |
296 | 296 |
297 // Emits optimized code for %_IsConstructCall(). | 297 // Emits optimized code for %_IsConstructCall(). |
298 // Caller should branch on equal condition. | 298 // Caller should branch on equal condition. |
299 void EmitIsConstructCall(Register temp); | 299 void EmitIsConstructCall(Register temp); |
300 | 300 |
301 void EmitLoadFieldOrConstantFunction(Register result, | 301 void EmitLoadFieldOrConstantFunction(Register result, |
302 Register object, | 302 Register object, |
303 Handle<Map> type, | 303 Handle<Map> type, |
304 Handle<String> name); | 304 Handle<String> name, |
| 305 LEnvironment* env); |
305 | 306 |
306 // Emits code for pushing either a tagged constant, a (non-double) | 307 // Emits code for pushing either a tagged constant, a (non-double) |
307 // register, or a stack slot operand. | 308 // register, or a stack slot operand. |
308 void EmitPushTaggedOperand(LOperand* operand); | 309 void EmitPushTaggedOperand(LOperand* operand); |
309 | 310 |
310 // Emits optimized code to deep-copy the contents of statically known | 311 // Emits optimized code to deep-copy the contents of statically known |
311 // object graphs (e.g. object literal boilerplate). | 312 // object graphs (e.g. object literal boilerplate). |
312 void EmitDeepCopy(Handle<JSObject> object, | 313 void EmitDeepCopy(Handle<JSObject> object, |
313 Register result, | 314 Register result, |
314 Register source, | 315 Register source, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 LCodeGen* codegen_; | 406 LCodeGen* codegen_; |
406 Label entry_; | 407 Label entry_; |
407 Label exit_; | 408 Label exit_; |
408 Label* external_exit_; | 409 Label* external_exit_; |
409 int instruction_index_; | 410 int instruction_index_; |
410 }; | 411 }; |
411 | 412 |
412 } } // namespace v8::internal | 413 } } // namespace v8::internal |
413 | 414 |
414 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 415 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |