| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 // Control flow | 313 // Control flow |
| 314 void Branch(bool if_true, Label* L); | 314 void Branch(bool if_true, Label* L); |
| 315 void CheckStack(); | 315 void CheckStack(); |
| 316 void CleanStack(int num_bytes); | 316 void CleanStack(int num_bytes); |
| 317 | 317 |
| 318 bool CheckForInlineRuntimeCall(CallRuntime* node); | 318 bool CheckForInlineRuntimeCall(CallRuntime* node); |
| 319 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); | 319 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); |
| 320 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 320 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
| 321 | 321 |
| 322 Handle<Code> ComputeCallInitialize(int argc); | 322 Handle<Code> ComputeCallInitialize(int argc); |
| 323 Handle<Code> ComputeCallInitializeInLoop(int argc); |
| 323 | 324 |
| 324 // Declare global variables and functions in the given array of | 325 // Declare global variables and functions in the given array of |
| 325 // name/value pairs. | 326 // name/value pairs. |
| 326 void DeclareGlobals(Handle<FixedArray> pairs); | 327 void DeclareGlobals(Handle<FixedArray> pairs); |
| 327 | 328 |
| 328 // Instantiate the function boilerplate. | 329 // Instantiate the function boilerplate. |
| 329 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); | 330 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); |
| 330 | 331 |
| 331 // Support for type checks. | 332 // Support for type checks. |
| 332 void GenerateIsSmi(ZoneList<Expression*>* args); | 333 void GenerateIsSmi(ZoneList<Expression*>* args); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 friend class VirtualFrame; | 428 friend class VirtualFrame; |
| 428 friend class Reference; | 429 friend class Reference; |
| 429 | 430 |
| 430 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 431 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 431 }; | 432 }; |
| 432 | 433 |
| 433 | 434 |
| 434 } } // namespace v8::internal | 435 } } // namespace v8::internal |
| 435 | 436 |
| 436 #endif // V8_CODEGEN_IA32_H_ | 437 #endif // V8_CODEGEN_IA32_H_ |
| OLD | NEW |