OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 // Control flow | 289 // Control flow |
290 void Branch(bool if_true, Label* L); | 290 void Branch(bool if_true, Label* L); |
291 void CheckStack(); | 291 void CheckStack(); |
292 void CleanStack(int num_bytes); | 292 void CleanStack(int num_bytes); |
293 | 293 |
294 bool CheckForInlineRuntimeCall(CallRuntime* node); | 294 bool CheckForInlineRuntimeCall(CallRuntime* node); |
295 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); | 295 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); |
296 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 296 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
297 | 297 |
298 Handle<Code> ComputeCallInitialize(int argc); | 298 Handle<Code> ComputeCallInitialize(int argc); |
| 299 Handle<Code> ComputeCallInitializeInLoop(int argc); |
299 | 300 |
300 // Declare global variables and functions in the given array of | 301 // Declare global variables and functions in the given array of |
301 // name/value pairs. | 302 // name/value pairs. |
302 void DeclareGlobals(Handle<FixedArray> pairs); | 303 void DeclareGlobals(Handle<FixedArray> pairs); |
303 | 304 |
304 // Instantiate the function boilerplate. | 305 // Instantiate the function boilerplate. |
305 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); | 306 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); |
306 | 307 |
307 // Support for type checks. | 308 // Support for type checks. |
308 void GenerateIsSmi(ZoneList<Expression*>* args); | 309 void GenerateIsSmi(ZoneList<Expression*>* args); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 | 401 |
401 friend class VirtualFrame; | 402 friend class VirtualFrame; |
402 friend class Reference; | 403 friend class Reference; |
403 | 404 |
404 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 405 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
405 }; | 406 }; |
406 | 407 |
407 } } // namespace v8::internal | 408 } } // namespace v8::internal |
408 | 409 |
409 #endif // V8_CODEGEN_ARM_H_ | 410 #endif // V8_CODEGEN_ARM_H_ |
OLD | NEW |