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