OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 void VisitDeclarations(ZoneList<Declaration*>* declarations); | 382 void VisitDeclarations(ZoneList<Declaration*>* declarations); |
383 void DeclareGlobals(Handle<FixedArray> pairs); | 383 void DeclareGlobals(Handle<FixedArray> pairs); |
384 | 384 |
385 // Platform-specific code for a variable, constant, or function | 385 // Platform-specific code for a variable, constant, or function |
386 // declaration. Functions have an initial value. | 386 // declaration. Functions have an initial value. |
387 void EmitDeclaration(Variable* variable, | 387 void EmitDeclaration(Variable* variable, |
388 Variable::Mode mode, | 388 Variable::Mode mode, |
389 FunctionLiteral* function); | 389 FunctionLiteral* function); |
390 | 390 |
391 // Platform-specific return sequence | 391 // Platform-specific return sequence |
392 void EmitReturnSequence(int position); | 392 void EmitReturnSequence(); |
393 | 393 |
394 // Platform-specific code sequences for calls | 394 // Platform-specific code sequences for calls |
395 void EmitCallWithStub(Call* expr); | 395 void EmitCallWithStub(Call* expr); |
396 void EmitCallWithIC(Call* expr, Handle<Object> name, RelocInfo::Mode mode); | 396 void EmitCallWithIC(Call* expr, Handle<Object> name, RelocInfo::Mode mode); |
397 void EmitKeyedCallWithIC(Call* expr, Expression* key, RelocInfo::Mode mode); | 397 void EmitKeyedCallWithIC(Call* expr, Expression* key, RelocInfo::Mode mode); |
398 | 398 |
399 | 399 |
400 // Platform-specific code for inline runtime calls. | 400 // Platform-specific code for inline runtime calls. |
401 void EmitInlineRuntimeCall(CallRuntime* expr); | 401 void EmitInlineRuntimeCall(CallRuntime* expr); |
402 void EmitIsSmi(ZoneList<Expression*>* arguments); | 402 void EmitIsSmi(ZoneList<Expression*>* arguments); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 | 538 |
539 friend class NestedStatement; | 539 friend class NestedStatement; |
540 | 540 |
541 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 541 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); |
542 }; | 542 }; |
543 | 543 |
544 | 544 |
545 } } // namespace v8::internal | 545 } } // namespace v8::internal |
546 | 546 |
547 #endif // V8_FULL_CODEGEN_H_ | 547 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |