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

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

Issue 665773003: Classes: implement 'new super'. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: debug compilation fixed Created 6 years, 2 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/arm64/full-codegen-arm64.cc ('k') | src/ia32/full-codegen-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 // is expected in accumulator. 602 // is expected in accumulator.
603 void EmitKeyedSuperPropertyStore(Property* prop); 603 void EmitKeyedSuperPropertyStore(Property* prop);
604 604
605 // Complete a keyed property assignment. The receiver and key are 605 // Complete a keyed property assignment. The receiver and key are
606 // expected on top of the stack and the right-hand-side value in the 606 // expected on top of the stack and the right-hand-side value in the
607 // accumulator. 607 // accumulator.
608 void EmitKeyedPropertyAssignment(Assignment* expr); 608 void EmitKeyedPropertyAssignment(Assignment* expr);
609 609
610 void EmitLoadHomeObject(SuperReference* expr); 610 void EmitLoadHomeObject(SuperReference* expr);
611 611
612 void EmitLoadSuperConstructor(SuperReference* expr);
613
612 void CallIC(Handle<Code> code, 614 void CallIC(Handle<Code> code,
613 TypeFeedbackId id = TypeFeedbackId::None()); 615 TypeFeedbackId id = TypeFeedbackId::None());
614 616
615 void CallLoadIC(ContextualMode mode, 617 void CallLoadIC(ContextualMode mode,
616 TypeFeedbackId id = TypeFeedbackId::None()); 618 TypeFeedbackId id = TypeFeedbackId::None());
617 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); 619 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None());
618 620
619 void SetFunctionPosition(FunctionLiteral* fun); 621 void SetFunctionPosition(FunctionLiteral* fun);
620 void SetReturnPosition(FunctionLiteral* fun); 622 void SetReturnPosition(FunctionLiteral* fun);
621 void SetStatementPosition(Statement* stmt); 623 void SetStatementPosition(Statement* stmt);
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 993
992 Address start_; 994 Address start_;
993 Address instruction_start_; 995 Address instruction_start_;
994 uint32_t length_; 996 uint32_t length_;
995 }; 997 };
996 998
997 999
998 } } // namespace v8::internal 1000 } } // namespace v8::internal
999 1001
1000 #endif // V8_FULL_CODEGEN_H_ 1002 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698