| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 bool force_control); | 412 bool force_control); |
| 413 void Load(Expression* expr); | 413 void Load(Expression* expr); |
| 414 void LoadGlobal(); | 414 void LoadGlobal(); |
| 415 void LoadGlobalReceiver(); | 415 void LoadGlobalReceiver(); |
| 416 | 416 |
| 417 // Generate code to push the value of an expression on top of the frame | 417 // Generate code to push the value of an expression on top of the frame |
| 418 // and then spill the frame fully to memory. This function is used | 418 // and then spill the frame fully to memory. This function is used |
| 419 // temporarily while the code generator is being transformed. | 419 // temporarily while the code generator is being transformed. |
| 420 void LoadAndSpill(Expression* expression); | 420 void LoadAndSpill(Expression* expression); |
| 421 | 421 |
| 422 // Load an expression, trying the side-effect free compiler if possible. |
| 423 void LoadPossiblySafeExpression(Expression* expression); |
| 424 |
| 422 // Read a value from a slot and leave it on top of the expression stack. | 425 // Read a value from a slot and leave it on top of the expression stack. |
| 423 Result LoadFromSlot(Slot* slot, TypeofState typeof_state); | 426 Result LoadFromSlot(Slot* slot, TypeofState typeof_state); |
| 424 Result LoadFromSlotCheckForArguments(Slot* slot, TypeofState typeof_state); | 427 Result LoadFromSlotCheckForArguments(Slot* slot, TypeofState typeof_state); |
| 425 Result LoadFromGlobalSlotCheckExtensions(Slot* slot, | 428 Result LoadFromGlobalSlotCheckExtensions(Slot* slot, |
| 426 TypeofState typeof_state, | 429 TypeofState typeof_state, |
| 427 JumpTarget* slow); | 430 JumpTarget* slow); |
| 428 | 431 |
| 429 // Store the value on top of the expression stack into a slot, leaving the | 432 // Store the value on top of the expression stack into a slot, leaving the |
| 430 // value in place. | 433 // value in place. |
| 431 void StoreToSlot(Slot* slot, InitState init_state); | 434 void StoreToSlot(Slot* slot, InitState init_state); |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 void Print() { | 926 void Print() { |
| 924 PrintF("NumberToStringStub\n"); | 927 PrintF("NumberToStringStub\n"); |
| 925 } | 928 } |
| 926 #endif | 929 #endif |
| 927 }; | 930 }; |
| 928 | 931 |
| 929 | 932 |
| 930 } } // namespace v8::internal | 933 } } // namespace v8::internal |
| 931 | 934 |
| 932 #endif // V8_IA32_CODEGEN_IA32_H_ | 935 #endif // V8_IA32_CODEGEN_IA32_H_ |
| OLD | NEW |