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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 | 578 |
579 bool CheckForInlineRuntimeCall(CallRuntime* node); | 579 bool CheckForInlineRuntimeCall(CallRuntime* node); |
580 | 580 |
581 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 581 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
582 | 582 |
583 // Declare global variables and functions in the given array of | 583 // Declare global variables and functions in the given array of |
584 // name/value pairs. | 584 // name/value pairs. |
585 void DeclareGlobals(Handle<FixedArray> pairs); | 585 void DeclareGlobals(Handle<FixedArray> pairs); |
586 | 586 |
587 // Instantiate the function based on the shared function info. | 587 // Instantiate the function based on the shared function info. |
588 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); | 588 void InstantiateFunction(Handle<SharedFunctionInfo> function_info, |
| 589 bool pretenure); |
589 | 590 |
590 // Support for type checks. | 591 // Support for type checks. |
591 void GenerateIsSmi(ZoneList<Expression*>* args); | 592 void GenerateIsSmi(ZoneList<Expression*>* args); |
592 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); | 593 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); |
593 void GenerateIsArray(ZoneList<Expression*>* args); | 594 void GenerateIsArray(ZoneList<Expression*>* args); |
594 void GenerateIsRegExp(ZoneList<Expression*>* args); | 595 void GenerateIsRegExp(ZoneList<Expression*>* args); |
595 void GenerateIsObject(ZoneList<Expression*>* args); | 596 void GenerateIsObject(ZoneList<Expression*>* args); |
596 void GenerateIsSpecObject(ZoneList<Expression*>* args); | 597 void GenerateIsSpecObject(ZoneList<Expression*>* args); |
597 void GenerateIsFunction(ZoneList<Expression*>* args); | 598 void GenerateIsFunction(ZoneList<Expression*>* args); |
598 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); | 599 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 | 734 |
734 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 735 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
735 | 736 |
736 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 737 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
737 }; | 738 }; |
738 | 739 |
739 | 740 |
740 } } // namespace v8::internal | 741 } } // namespace v8::internal |
741 | 742 |
742 #endif // V8_X64_CODEGEN_X64_H_ | 743 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |