| 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 | 437 |
| 438 // Control flow | 438 // Control flow |
| 439 void Branch(bool if_true, JumpTarget* target); | 439 void Branch(bool if_true, JumpTarget* target); |
| 440 void CheckStack(); | 440 void CheckStack(); |
| 441 | 441 |
| 442 bool CheckForInlineRuntimeCall(CallRuntime* node); | 442 bool CheckForInlineRuntimeCall(CallRuntime* node); |
| 443 | 443 |
| 444 static Handle<Code> ComputeLazyCompile(int argc); | 444 static Handle<Code> ComputeLazyCompile(int argc); |
| 445 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 445 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
| 446 | 446 |
| 447 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); | |
| 448 | |
| 449 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); | |
| 450 | |
| 451 // Declare global variables and functions in the given array of | 447 // Declare global variables and functions in the given array of |
| 452 // name/value pairs. | 448 // name/value pairs. |
| 453 void DeclareGlobals(Handle<FixedArray> pairs); | 449 void DeclareGlobals(Handle<FixedArray> pairs); |
| 454 | 450 |
| 455 // Instantiate the function based on the shared function info. | 451 // Instantiate the function based on the shared function info. |
| 456 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); | 452 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); |
| 457 | 453 |
| 458 // Support for type checks. | 454 // Support for type checks. |
| 459 void GenerateIsSmi(ZoneList<Expression*>* args); | 455 void GenerateIsSmi(ZoneList<Expression*>* args); |
| 460 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); | 456 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 friend class FullCodeGenerator; | 585 friend class FullCodeGenerator; |
| 590 friend class FullCodeGenSyntaxChecker; | 586 friend class FullCodeGenSyntaxChecker; |
| 591 | 587 |
| 592 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 588 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 593 }; | 589 }; |
| 594 | 590 |
| 595 | 591 |
| 596 } } // namespace v8::internal | 592 } } // namespace v8::internal |
| 597 | 593 |
| 598 #endif // V8_ARM_CODEGEN_ARM_H_ | 594 #endif // V8_ARM_CODEGEN_ARM_H_ |
| OLD | NEW |