Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/full-codegen.h

Issue 2280007: Extend CallIC to support non-constant names.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/disassembler.cc ('k') | src/ia32/codegen-ia32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/disassembler.cc ('k') | src/ia32/codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698