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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 // Load a named property, leaving it in r0. The receiver is passed on the | 315 // Load a named property, leaving it in r0. The receiver is passed on the |
316 // stack, and remains there. | 316 // stack, and remains there. |
317 void EmitNamedLoad(Handle<String> name, bool is_contextual); | 317 void EmitNamedLoad(Handle<String> name, bool is_contextual); |
318 | 318 |
319 // Load a keyed property, leaving it in r0. The receiver and key are | 319 // Load a keyed property, leaving it in r0. The receiver and key are |
320 // passed on the stack, and remain there. | 320 // passed on the stack, and remain there. |
321 void EmitKeyedLoad(bool is_global); | 321 void EmitKeyedLoad(bool is_global); |
322 | 322 |
323 void LoadFromGlobalSlotCheckExtensions(Slot* slot, | 323 void LoadFromGlobalSlotCheckExtensions(Slot* slot, |
324 TypeofState typeof_state, | 324 TypeofState typeof_state, |
325 Register tmp, | |
326 Register tmp2, | |
327 JumpTarget* slow); | 325 JumpTarget* slow); |
328 | 326 |
329 // Special code for typeof expressions: Unfortunately, we must | 327 // Special code for typeof expressions: Unfortunately, we must |
330 // be careful when loading the expression in 'typeof' | 328 // be careful when loading the expression in 'typeof' |
331 // expressions. We are not allowed to throw reference errors for | 329 // expressions. We are not allowed to throw reference errors for |
332 // non-existing properties of the global object, so we must make it | 330 // non-existing properties of the global object, so we must make it |
333 // look like an explicit property access, instead of an access | 331 // look like an explicit property access, instead of an access |
334 // through the context chain. | 332 // through the context chain. |
335 void LoadTypeofExpression(Expression* x); | 333 void LoadTypeofExpression(Expression* x); |
336 | 334 |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 void Print() { | 852 void Print() { |
855 PrintF("NumberToStringStub\n"); | 853 PrintF("NumberToStringStub\n"); |
856 } | 854 } |
857 #endif | 855 #endif |
858 }; | 856 }; |
859 | 857 |
860 | 858 |
861 } } // namespace v8::internal | 859 } } // namespace v8::internal |
862 | 860 |
863 #endif // V8_ARM_CODEGEN_ARM_H_ | 861 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |