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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 void EmitDeclaration(Variable* variable, | 362 void EmitDeclaration(Variable* variable, |
363 Variable::Mode mode, | 363 Variable::Mode mode, |
364 FunctionLiteral* function); | 364 FunctionLiteral* function); |
365 | 365 |
366 // Platform-specific return sequence | 366 // Platform-specific return sequence |
367 void EmitReturnSequence(int position); | 367 void EmitReturnSequence(int position); |
368 | 368 |
369 // Platform-specific code sequences for calls | 369 // Platform-specific code sequences for calls |
370 void EmitCallWithStub(Call* expr); | 370 void EmitCallWithStub(Call* expr); |
371 void EmitCallWithIC(Call* expr, Handle<Object> name, RelocInfo::Mode mode); | 371 void EmitCallWithIC(Call* expr, Handle<Object> name, RelocInfo::Mode mode); |
| 372 void EmitKeyedCallWithIC(Call* expr, Expression* key, RelocInfo::Mode mode); |
372 | 373 |
373 | 374 |
374 // Platform-specific code for inline runtime calls. | 375 // Platform-specific code for inline runtime calls. |
375 void EmitInlineRuntimeCall(CallRuntime* expr); | 376 void EmitInlineRuntimeCall(CallRuntime* expr); |
376 void EmitIsSmi(ZoneList<Expression*>* arguments); | 377 void EmitIsSmi(ZoneList<Expression*>* arguments); |
377 void EmitIsNonNegativeSmi(ZoneList<Expression*>* arguments); | 378 void EmitIsNonNegativeSmi(ZoneList<Expression*>* arguments); |
378 void EmitIsObject(ZoneList<Expression*>* arguments); | 379 void EmitIsObject(ZoneList<Expression*>* arguments); |
379 void EmitIsUndetectableObject(ZoneList<Expression*>* arguments); | 380 void EmitIsUndetectableObject(ZoneList<Expression*>* arguments); |
380 void EmitIsFunction(ZoneList<Expression*>* arguments); | 381 void EmitIsFunction(ZoneList<Expression*>* arguments); |
381 void EmitIsArray(ZoneList<Expression*>* arguments); | 382 void EmitIsArray(ZoneList<Expression*>* arguments); |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 | 512 |
512 friend class NestedStatement; | 513 friend class NestedStatement; |
513 | 514 |
514 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 515 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); |
515 }; | 516 }; |
516 | 517 |
517 | 518 |
518 } } // namespace v8::internal | 519 } } // namespace v8::internal |
519 | 520 |
520 #endif // V8_FULL_CODEGEN_H_ | 521 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |