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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 | 293 |
294 // Emits optimized code for %_IsConstructCall(). | 294 // Emits optimized code for %_IsConstructCall(). |
295 // Caller should branch on equal condition. | 295 // Caller should branch on equal condition. |
296 void EmitIsConstructCall(Register temp1, Register temp2); | 296 void EmitIsConstructCall(Register temp1, Register temp2); |
297 | 297 |
298 void EmitLoadFieldOrConstantFunction(Register result, | 298 void EmitLoadFieldOrConstantFunction(Register result, |
299 Register object, | 299 Register object, |
300 Handle<Map> type, | 300 Handle<Map> type, |
301 Handle<String> name); | 301 Handle<String> name); |
302 | 302 |
| 303 // Emits optimized code to deep-copy the contents of statically known |
| 304 // object graphs (e.g. object literal boilerplate). |
| 305 void EmitDeepCopy(Handle<JSObject> object, |
| 306 Register result, |
| 307 Register source, |
| 308 int* offset); |
| 309 |
303 struct JumpTableEntry { | 310 struct JumpTableEntry { |
304 explicit inline JumpTableEntry(Address entry) | 311 explicit inline JumpTableEntry(Address entry) |
305 : label(), | 312 : label(), |
306 address(entry) { } | 313 address(entry) { } |
307 Label label; | 314 Label label; |
308 Address address; | 315 Address address; |
309 }; | 316 }; |
310 | 317 |
311 void EnsureSpaceForLazyDeopt(); | 318 void EnsureSpaceForLazyDeopt(); |
312 | 319 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 LCodeGen* codegen_; | 417 LCodeGen* codegen_; |
411 Label entry_; | 418 Label entry_; |
412 Label exit_; | 419 Label exit_; |
413 Label* external_exit_; | 420 Label* external_exit_; |
414 int instruction_index_; | 421 int instruction_index_; |
415 }; | 422 }; |
416 | 423 |
417 } } // namespace v8::internal | 424 } } // namespace v8::internal |
418 | 425 |
419 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 426 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |