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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 InlineRuntimeLUT* old_entry); | 567 InlineRuntimeLUT* old_entry); |
568 | 568 |
569 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 569 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
570 | 570 |
571 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); | 571 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); |
572 | 572 |
573 // Declare global variables and functions in the given array of | 573 // Declare global variables and functions in the given array of |
574 // name/value pairs. | 574 // name/value pairs. |
575 void DeclareGlobals(Handle<FixedArray> pairs); | 575 void DeclareGlobals(Handle<FixedArray> pairs); |
576 | 576 |
577 // Instantiate the function boilerplate. | 577 // Instantiate the function based on the shared function info. |
578 Result InstantiateBoilerplate(Handle<JSFunction> boilerplate); | 578 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info); |
579 | 579 |
580 // Support for type checks. | 580 // Support for type checks. |
581 void GenerateIsSmi(ZoneList<Expression*>* args); | 581 void GenerateIsSmi(ZoneList<Expression*>* args); |
582 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); | 582 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); |
583 void GenerateIsArray(ZoneList<Expression*>* args); | 583 void GenerateIsArray(ZoneList<Expression*>* args); |
584 void GenerateIsRegExp(ZoneList<Expression*>* args); | 584 void GenerateIsRegExp(ZoneList<Expression*>* args); |
585 void GenerateIsObject(ZoneList<Expression*>* args); | 585 void GenerateIsObject(ZoneList<Expression*>* args); |
586 void GenerateIsFunction(ZoneList<Expression*>* args); | 586 void GenerateIsFunction(ZoneList<Expression*>* args); |
587 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); | 587 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); |
588 | 588 |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1046 return ObjectBits::encode(object_.code()) | | 1046 return ObjectBits::encode(object_.code()) | |
1047 AddressBits::encode(addr_.code()) | | 1047 AddressBits::encode(addr_.code()) | |
1048 ScratchBits::encode(scratch_.code()); | 1048 ScratchBits::encode(scratch_.code()); |
1049 } | 1049 } |
1050 }; | 1050 }; |
1051 | 1051 |
1052 | 1052 |
1053 } } // namespace v8::internal | 1053 } } // namespace v8::internal |
1054 | 1054 |
1055 #endif // V8_IA32_CODEGEN_IA32_H_ | 1055 #endif // V8_IA32_CODEGEN_IA32_H_ |
OLD | NEW |