| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 void TestAndBranch(Register source, Label* true_label, Label* false_label); | 233 void TestAndBranch(Register source, Label* true_label, Label* false_label); |
| 234 | 234 |
| 235 void VisitDeclarations(ZoneList<Declaration*>* declarations); | 235 void VisitDeclarations(ZoneList<Declaration*>* declarations); |
| 236 void DeclareGlobals(Handle<FixedArray> pairs); | 236 void DeclareGlobals(Handle<FixedArray> pairs); |
| 237 | 237 |
| 238 // Platform-specific return sequence | 238 // Platform-specific return sequence |
| 239 void EmitReturnSequence(int position); | 239 void EmitReturnSequence(int position); |
| 240 | 240 |
| 241 // Platform-specific code sequences for calls | 241 // Platform-specific code sequences for calls |
| 242 void EmitCallWithStub(Call* expr); | 242 void EmitCallWithStub(Call* expr); |
| 243 void EmitCallWithIC(Call* expr, RelocInfo::Mode reloc_info); | 243 void EmitCallWithIC(Call* expr, Handle<Object> name, RelocInfo::Mode mode); |
| 244 | 244 |
| 245 // Platform-specific code for loading variables. | 245 // Platform-specific code for loading variables. |
| 246 void EmitVariableLoad(Variable* expr, Expression::Context context); | 246 void EmitVariableLoad(Variable* expr, Expression::Context context); |
| 247 | 247 |
| 248 // Platform-specific support for compiling assignments. | 248 // Platform-specific support for compiling assignments. |
| 249 | 249 |
| 250 // Load a value from a named property and push the result on the stack. | 250 // Load a value from a named property and push the result on the stack. |
| 251 // The receiver is left on the stack by the IC. | 251 // The receiver is left on the stack by the IC. |
| 252 void EmitNamedPropertyLoad(Property* expr, Expression::Context context); | 252 void EmitNamedPropertyLoad(Property* expr, Expression::Context context); |
| 253 | 253 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 | 321 |
| 322 friend class NestedStatement; | 322 friend class NestedStatement; |
| 323 | 323 |
| 324 DISALLOW_COPY_AND_ASSIGN(FastCodeGenerator); | 324 DISALLOW_COPY_AND_ASSIGN(FastCodeGenerator); |
| 325 }; | 325 }; |
| 326 | 326 |
| 327 | 327 |
| 328 } } // namespace v8::internal | 328 } } // namespace v8::internal |
| 329 | 329 |
| 330 #endif // V8_FAST_CODEGEN_H_ | 330 #endif // V8_FAST_CODEGEN_H_ |
| OLD | NEW |