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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 // name/value pairs. | 505 // name/value pairs. |
506 void DeclareGlobals(Handle<FixedArray> pairs); | 506 void DeclareGlobals(Handle<FixedArray> pairs); |
507 | 507 |
508 // Instantiate the function boilerplate. | 508 // Instantiate the function boilerplate. |
509 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); | 509 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); |
510 | 510 |
511 // Support for type checks. | 511 // Support for type checks. |
512 void GenerateIsSmi(ZoneList<Expression*>* args); | 512 void GenerateIsSmi(ZoneList<Expression*>* args); |
513 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); | 513 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); |
514 void GenerateIsArray(ZoneList<Expression*>* args); | 514 void GenerateIsArray(ZoneList<Expression*>* args); |
| 515 void GenerateIsObject(ZoneList<Expression*>* args); |
| 516 void GenerateIsFunction(ZoneList<Expression*>* args); |
515 | 517 |
516 // Support for construct call checks. | 518 // Support for construct call checks. |
517 void GenerateIsConstructCall(ZoneList<Expression*>* args); | 519 void GenerateIsConstructCall(ZoneList<Expression*>* args); |
518 | 520 |
519 // Support for arguments.length and arguments[?]. | 521 // Support for arguments.length and arguments[?]. |
520 void GenerateArgumentsLength(ZoneList<Expression*>* args); | 522 void GenerateArgumentsLength(ZoneList<Expression*>* args); |
521 void GenerateArgumentsAccess(ZoneList<Expression*>* args); | 523 void GenerateArgumentsAccess(ZoneList<Expression*>* args); |
522 | 524 |
523 // Support for accessing the class and value fields of an object. | 525 // Support for accessing the class and value fields of an object. |
524 void GenerateClassOf(ZoneList<Expression*>* args); | 526 void GenerateClassOf(ZoneList<Expression*>* args); |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 void SetArgsReversed() { args_reversed_ = true; } | 733 void SetArgsReversed() { args_reversed_ = true; } |
732 bool HasSmiCodeInStub() { return (flags_ & NO_SMI_CODE_IN_STUB) == 0; } | 734 bool HasSmiCodeInStub() { return (flags_ & NO_SMI_CODE_IN_STUB) == 0; } |
733 bool HasArgumentsInRegisters() { return args_in_registers_; } | 735 bool HasArgumentsInRegisters() { return args_in_registers_; } |
734 bool HasArgumentsReversed() { return args_reversed_; } | 736 bool HasArgumentsReversed() { return args_reversed_; } |
735 }; | 737 }; |
736 | 738 |
737 | 739 |
738 } } // namespace v8::internal | 740 } } // namespace v8::internal |
739 | 741 |
740 #endif // V8_IA32_CODEGEN_IA32_H_ | 742 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |