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

Side by Side Diff: src/stub-cache.h

Issue 870007: Implement a custom call compiler for Array.pop. (Closed)
Patch Set: Ultimate version Created 10 years, 9 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
« no previous file with comments | « src/runtime.cc ('k') | src/x64/stub-cache-x64.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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 JSGlobalPropertyCell* cell, 568 JSGlobalPropertyCell* cell,
569 JSFunction* function, 569 JSFunction* function,
570 String* name); 570 String* name);
571 571
572 Object* CompileArrayPushCall(Object* object, 572 Object* CompileArrayPushCall(Object* object,
573 JSObject* holder, 573 JSObject* holder,
574 JSFunction* function, 574 JSFunction* function,
575 String* name, 575 String* name,
576 CheckType check); 576 CheckType check);
577 577
578 Object* CompileArrayPopCall(Object* object,
579 JSObject* holder,
580 JSFunction* function,
581 String* name,
582 CheckType check);
583
578 private: 584 private:
579 const ParameterCount arguments_; 585 const ParameterCount arguments_;
580 const InLoopFlag in_loop_; 586 const InLoopFlag in_loop_;
581 587
582 const ParameterCount& arguments() { return arguments_; } 588 const ParameterCount& arguments() { return arguments_; }
583 589
584 Object* GetCode(PropertyType type, String* name); 590 Object* GetCode(PropertyType type, String* name);
585 }; 591 };
586 592
587 593
(...skipping 12 matching lines...) Expand all
600 Object* object, 606 Object* object,
601 JSObject* holder, 607 JSObject* holder,
602 JSFunction* function, 608 JSFunction* function,
603 String* name, 609 String* name,
604 StubCompiler::CheckType check); 610 StubCompiler::CheckType check);
605 611
606 612
607 } } // namespace v8::internal 613 } } // namespace v8::internal
608 614
609 #endif // V8_STUB_CACHE_H_ 615 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698