OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 void DeclareGlobals(Handle<FixedArray> pairs); | 326 void DeclareGlobals(Handle<FixedArray> pairs); |
327 | 327 |
328 // Instantiate the function boilerplate. | 328 // Instantiate the function boilerplate. |
329 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); | 329 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); |
330 | 330 |
331 // Support for type checks. | 331 // Support for type checks. |
332 void GenerateIsSmi(ZoneList<Expression*>* args); | 332 void GenerateIsSmi(ZoneList<Expression*>* args); |
333 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); | 333 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); |
334 void GenerateIsArray(ZoneList<Expression*>* args); | 334 void GenerateIsArray(ZoneList<Expression*>* args); |
335 | 335 |
| 336 // Support for construct call checks. |
| 337 void GenerateIsConstructCall(ZoneList<Expression*>* args); |
| 338 |
336 // Support for arguments.length and arguments[?]. | 339 // Support for arguments.length and arguments[?]. |
337 void GenerateArgumentsLength(ZoneList<Expression*>* args); | 340 void GenerateArgumentsLength(ZoneList<Expression*>* args); |
338 void GenerateArgumentsAccess(ZoneList<Expression*>* args); | 341 void GenerateArgumentsAccess(ZoneList<Expression*>* args); |
339 | 342 |
340 // Support for accessing the value field of an object (used by Date). | 343 // Support for accessing the value field of an object (used by Date). |
341 void GenerateValueOf(ZoneList<Expression*>* args); | 344 void GenerateValueOf(ZoneList<Expression*>* args); |
342 void GenerateSetValueOf(ZoneList<Expression*>* args); | 345 void GenerateSetValueOf(ZoneList<Expression*>* args); |
343 | 346 |
344 // Fast support for charCodeAt(n). | 347 // Fast support for charCodeAt(n). |
345 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); | 348 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 friend class JumpTarget; | 409 friend class JumpTarget; |
407 friend class Reference; | 410 friend class Reference; |
408 | 411 |
409 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 412 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
410 }; | 413 }; |
411 | 414 |
412 | 415 |
413 } } // namespace v8::internal | 416 } } // namespace v8::internal |
414 | 417 |
415 #endif // V8_ARM_CODEGEN_ARM_H_ | 418 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |