OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 // and then spill the frame fully to memory. This function is used | 452 // and then spill the frame fully to memory. This function is used |
453 // temporarily while the code generator is being transformed. | 453 // temporarily while the code generator is being transformed. |
454 void LoadAndSpill(Expression* expression); | 454 void LoadAndSpill(Expression* expression); |
455 | 455 |
456 // Evaluate an expression and place its value on top of the frame, | 456 // Evaluate an expression and place its value on top of the frame, |
457 // using, or not using, the side-effect-free expression compiler. | 457 // using, or not using, the side-effect-free expression compiler. |
458 void LoadInSafeInt32Mode(Expression* expr, BreakTarget* unsafe_bailout); | 458 void LoadInSafeInt32Mode(Expression* expr, BreakTarget* unsafe_bailout); |
459 void LoadWithSafeInt32ModeDisabled(Expression* expr); | 459 void LoadWithSafeInt32ModeDisabled(Expression* expr); |
460 | 460 |
461 // Read a value from a slot and leave it on top of the expression stack. | 461 // Read a value from a slot and leave it on top of the expression stack. |
462 Result LoadFromSlot(Slot* slot, TypeofState typeof_state); | 462 void LoadFromSlot(Slot* slot, TypeofState typeof_state); |
463 Result LoadFromSlotCheckForArguments(Slot* slot, TypeofState typeof_state); | 463 void LoadFromSlotCheckForArguments(Slot* slot, TypeofState typeof_state); |
464 Result LoadFromGlobalSlotCheckExtensions(Slot* slot, | 464 Result LoadFromGlobalSlotCheckExtensions(Slot* slot, |
465 TypeofState typeof_state, | 465 TypeofState typeof_state, |
466 JumpTarget* slow); | 466 JumpTarget* slow); |
467 | 467 |
468 // Support for loading from local/global variables and arguments | 468 // Support for loading from local/global variables and arguments |
469 // whose location is known unless they are shadowed by | 469 // whose location is known unless they are shadowed by |
470 // eval-introduced bindings. Generates no code for unsupported slot | 470 // eval-introduced bindings. Generates no code for unsupported slot |
471 // types and therefore expects to fall through to the slow jump target. | 471 // types and therefore expects to fall through to the slow jump target. |
472 void EmitDynamicLoadFromSlotFastCase(Slot* slot, | 472 void EmitDynamicLoadFromSlotFastCase(Slot* slot, |
473 TypeofState typeof_state, | 473 TypeofState typeof_state, |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 return ObjectBits::encode(object_.code()) | | 1115 return ObjectBits::encode(object_.code()) | |
1116 AddressBits::encode(addr_.code()) | | 1116 AddressBits::encode(addr_.code()) | |
1117 ScratchBits::encode(scratch_.code()); | 1117 ScratchBits::encode(scratch_.code()); |
1118 } | 1118 } |
1119 }; | 1119 }; |
1120 | 1120 |
1121 | 1121 |
1122 } } // namespace v8::internal | 1122 } } // namespace v8::internal |
1123 | 1123 |
1124 #endif // V8_IA32_CODEGEN_IA32_H_ | 1124 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |