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

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

Issue 340037: Support for calls on named and keyed properties of the form:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 1 month 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 | « no previous file | src/arm/codegen-arm.cc » ('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 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 friend class VirtualFrame; 426 friend class VirtualFrame;
427 friend class JumpTarget; 427 friend class JumpTarget;
428 friend class Reference; 428 friend class Reference;
429 friend class FastCodeGenerator; 429 friend class FastCodeGenerator;
430 friend class CodeGenSelector; 430 friend class CodeGenSelector;
431 431
432 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 432 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
433 }; 433 };
434 434
435 435
436 class CallFunctionStub: public CodeStub {
437 public:
438 CallFunctionStub(int argc, InLoopFlag in_loop)
439 : argc_(argc), in_loop_(in_loop) {}
440
441 void Generate(MacroAssembler* masm);
442
443 private:
444 int argc_;
445 InLoopFlag in_loop_;
446
447 #if defined(DEBUG)
448 void Print() { PrintF("CallFunctionStub (argc %d)\n", argc_); }
449 #endif // defined(DEBUG)
450
451 Major MajorKey() { return CallFunction; }
452 int MinorKey() { return argc_; }
453 InLoopFlag InLoop() { return in_loop_; }
454 };
455
456
436 class GenericBinaryOpStub : public CodeStub { 457 class GenericBinaryOpStub : public CodeStub {
437 public: 458 public:
438 GenericBinaryOpStub(Token::Value op, 459 GenericBinaryOpStub(Token::Value op,
439 OverwriteMode mode, 460 OverwriteMode mode,
440 int constant_rhs = CodeGenerator::kUnknownIntValue) 461 int constant_rhs = CodeGenerator::kUnknownIntValue)
441 : op_(op), 462 : op_(op),
442 mode_(mode), 463 mode_(mode),
443 constant_rhs_(constant_rhs), 464 constant_rhs_(constant_rhs),
444 specialized_on_rhs_(RhsIsOneWeWantToOptimizeFor(op, constant_rhs)) { } 465 specialized_on_rhs_(RhsIsOneWeWantToOptimizeFor(op, constant_rhs)) { }
445 466
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 constant_rhs_); 540 constant_rhs_);
520 } 541 }
521 } 542 }
522 #endif 543 #endif
523 }; 544 };
524 545
525 546
526 } } // namespace v8::internal 547 } } // namespace v8::internal
527 548
528 #endif // V8_ARM_CODEGEN_ARM_H_ 549 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698