| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 void StoreToSlot(Slot* slot, InitState init_state); | 431 void StoreToSlot(Slot* slot, InitState init_state); |
| 432 | 432 |
| 433 // Support for compiling assignment expressions. | 433 // Support for compiling assignment expressions. |
| 434 void EmitSlotAssignment(Assignment* node); | 434 void EmitSlotAssignment(Assignment* node); |
| 435 void EmitNamedPropertyAssignment(Assignment* node); | 435 void EmitNamedPropertyAssignment(Assignment* node); |
| 436 void EmitKeyedPropertyAssignment(Assignment* node); | 436 void EmitKeyedPropertyAssignment(Assignment* node); |
| 437 | 437 |
| 438 // Receiver is passed on the frame and consumed. | 438 // Receiver is passed on the frame and consumed. |
| 439 Result EmitNamedLoad(Handle<String> name, bool is_contextual); | 439 Result EmitNamedLoad(Handle<String> name, bool is_contextual); |
| 440 | 440 |
| 441 // Reciever and value are passed on the frame and consumed. | 441 // If the store is contextual, value is passed on the frame and consumed. |
| 442 Result EmitNamedStore(Handle<String> name); | 442 // Otherwise, receiver and value are passed on the frame and consumed. |
| 443 Result EmitNamedStore(Handle<String> name, bool is_contextual); |
| 443 | 444 |
| 444 // Receiver and key are passed on the frame and consumed. | 445 // Receiver and key are passed on the frame and consumed. |
| 445 Result EmitKeyedLoad(); | 446 Result EmitKeyedLoad(); |
| 446 | 447 |
| 447 // Receiver, key, and value are passed on the frame and consumed. | 448 // Receiver, key, and value are passed on the frame and consumed. |
| 448 Result EmitKeyedStore(StaticType* key_type); | 449 Result EmitKeyedStore(StaticType* key_type); |
| 449 | 450 |
| 450 // Special code for typeof expressions: Unfortunately, we must | 451 // Special code for typeof expressions: Unfortunately, we must |
| 451 // be careful when loading the expression in 'typeof' | 452 // be careful when loading the expression in 'typeof' |
| 452 // expressions. We are not allowed to throw reference errors for | 453 // expressions. We are not allowed to throw reference errors for |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 void Print() { | 897 void Print() { |
| 897 PrintF("NumberToStringStub\n"); | 898 PrintF("NumberToStringStub\n"); |
| 898 } | 899 } |
| 899 #endif | 900 #endif |
| 900 }; | 901 }; |
| 901 | 902 |
| 902 | 903 |
| 903 } } // namespace v8::internal | 904 } } // namespace v8::internal |
| 904 | 905 |
| 905 #endif // V8_IA32_CODEGEN_IA32_H_ | 906 #endif // V8_IA32_CODEGEN_IA32_H_ |
| OLD | NEW |