| 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 // Control flow | 247 // Control flow |
| 248 void Branch(bool if_true, JumpTarget* target); | 248 void Branch(bool if_true, JumpTarget* target); |
| 249 void CheckStack(); | 249 void CheckStack(); |
| 250 void CleanStack(int num_bytes); | 250 void CleanStack(int num_bytes); |
| 251 | 251 |
| 252 bool CheckForInlineRuntimeCall(CallRuntime* node); | 252 bool CheckForInlineRuntimeCall(CallRuntime* node); |
| 253 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); | 253 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); |
| 254 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 254 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
| 255 | 255 |
| 256 Handle<Code> ComputeCallInitialize(int argc); | 256 Handle<Code> ComputeCallInitialize(int argc); |
| 257 Handle<Code> ComputeCallInitializeInLoop(int argc); |
| 257 | 258 |
| 258 // Declare global variables and functions in the given array of | 259 // Declare global variables and functions in the given array of |
| 259 // name/value pairs. | 260 // name/value pairs. |
| 260 void DeclareGlobals(Handle<FixedArray> pairs); | 261 void DeclareGlobals(Handle<FixedArray> pairs); |
| 261 | 262 |
| 262 // Instantiate the function boilerplate. | 263 // Instantiate the function boilerplate. |
| 263 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); | 264 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); |
| 264 | 265 |
| 265 // Support for type checks. | 266 // Support for type checks. |
| 266 void GenerateIsSmi(ZoneList<Expression*>* args); | 267 void GenerateIsSmi(ZoneList<Expression*>* args); |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 friend class VirtualFrame; | 370 friend class VirtualFrame; |
| 370 friend class JumpTarget; | 371 friend class JumpTarget; |
| 371 friend class Reference; | 372 friend class Reference; |
| 372 | 373 |
| 373 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 374 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 374 }; | 375 }; |
| 375 | 376 |
| 376 } } // namespace v8::internal | 377 } } // namespace v8::internal |
| 377 | 378 |
| 378 #endif // V8_CODEGEN_ARM_H_ | 379 #endif // V8_CODEGEN_ARM_H_ |
| OLD | NEW |