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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 // The optimization avoids allocating an arguments object if possible. | 440 // The optimization avoids allocating an arguments object if possible. |
441 void CallApplyLazy(Expression* applicand, | 441 void CallApplyLazy(Expression* applicand, |
442 Expression* receiver, | 442 Expression* receiver, |
443 VariableProxy* arguments, | 443 VariableProxy* arguments, |
444 int position); | 444 int position); |
445 | 445 |
446 // Control flow | 446 // Control flow |
447 void Branch(bool if_true, JumpTarget* target); | 447 void Branch(bool if_true, JumpTarget* target); |
448 void CheckStack(); | 448 void CheckStack(); |
449 | 449 |
450 static InlineFunctionGenerator FindInlineFunctionGenerator( | |
451 Runtime::FunctionId function_id); | |
452 | |
453 bool CheckForInlineRuntimeCall(CallRuntime* node); | 450 bool CheckForInlineRuntimeCall(CallRuntime* node); |
454 | 451 |
455 static Handle<Code> ComputeLazyCompile(int argc); | 452 static Handle<Code> ComputeLazyCompile(int argc); |
456 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 453 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
457 | 454 |
458 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); | 455 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); |
459 | 456 |
460 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); | 457 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); |
461 | 458 |
462 // Declare global variables and functions in the given array of | 459 // Declare global variables and functions in the given array of |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 friend class FullCodeGenerator; | 599 friend class FullCodeGenerator; |
603 friend class FullCodeGenSyntaxChecker; | 600 friend class FullCodeGenSyntaxChecker; |
604 | 601 |
605 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 602 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
606 }; | 603 }; |
607 | 604 |
608 | 605 |
609 } } // namespace v8::internal | 606 } } // namespace v8::internal |
610 | 607 |
611 #endif // V8_ARM_CODEGEN_ARM_H_ | 608 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |