| 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 // Control flow | 281 // Control flow |
| 282 void Branch(bool if_true, JumpTarget* target); | 282 void Branch(bool if_true, JumpTarget* target); |
| 283 void CheckStack(); | 283 void CheckStack(); |
| 284 void CleanStack(int num_bytes); | 284 void CleanStack(int num_bytes); |
| 285 | 285 |
| 286 bool CheckForInlineRuntimeCall(CallRuntime* node); | 286 bool CheckForInlineRuntimeCall(CallRuntime* node); |
| 287 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); | 287 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); |
| 288 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 288 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
| 289 | 289 |
| 290 Handle<Code> ComputeCallInitialize(int argc); | 290 Handle<Code> ComputeCallInitialize(int argc); |
| 291 Handle<Code> ComputeCallInitializeInLoop(int argc); |
| 291 | 292 |
| 292 // Declare global variables and functions in the given array of | 293 // Declare global variables and functions in the given array of |
| 293 // name/value pairs. | 294 // name/value pairs. |
| 294 void DeclareGlobals(Handle<FixedArray> pairs); | 295 void DeclareGlobals(Handle<FixedArray> pairs); |
| 295 | 296 |
| 296 // Instantiate the function boilerplate. | 297 // Instantiate the function boilerplate. |
| 297 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); | 298 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); |
| 298 | 299 |
| 299 // Support for type checks. | 300 // Support for type checks. |
| 300 void GenerateIsSmi(ZoneList<Expression*>* args); | 301 void GenerateIsSmi(ZoneList<Expression*>* args); |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 friend class JumpTarget; | 408 friend class JumpTarget; |
| 408 friend class Reference; | 409 friend class Reference; |
| 409 | 410 |
| 410 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 411 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 411 }; | 412 }; |
| 412 | 413 |
| 413 | 414 |
| 414 } } // namespace v8::internal | 415 } } // namespace v8::internal |
| 415 | 416 |
| 416 #endif // V8_CODEGEN_IA32_H_ | 417 #endif // V8_CODEGEN_IA32_H_ |
| OLD | NEW |