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

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

Issue 798243004: ES6 computed property names (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Disable test on windows Created 5 years, 11 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/flag-definitions.h ('k') | src/full-codegen.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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 561
562 // Load a value from a keyed property. 562 // Load a value from a keyed property.
563 // The receiver and the key is left on the stack by the IC. 563 // The receiver and the key is left on the stack by the IC.
564 void EmitKeyedPropertyLoad(Property* expr); 564 void EmitKeyedPropertyLoad(Property* expr);
565 565
566 // Adds the properties to the class (function) object and to its prototype. 566 // Adds the properties to the class (function) object and to its prototype.
567 // Expects the class (function) in the accumulator. The class (function) is 567 // Expects the class (function) in the accumulator. The class (function) is
568 // in the accumulator after installing all the properties. 568 // in the accumulator after installing all the properties.
569 void EmitClassDefineProperties(ClassLiteral* lit); 569 void EmitClassDefineProperties(ClassLiteral* lit);
570 570
571 // Pushes the property key as a Name on the stack.
572 void EmitPropertyKey(ObjectLiteralProperty* property);
573
571 // Apply the compound assignment operator. Expects the left operand on top 574 // Apply the compound assignment operator. Expects the left operand on top
572 // of the stack and the right one in the accumulator. 575 // of the stack and the right one in the accumulator.
573 void EmitBinaryOp(BinaryOperation* expr, 576 void EmitBinaryOp(BinaryOperation* expr,
574 Token::Value op, 577 Token::Value op,
575 OverwriteMode mode); 578 OverwriteMode mode);
576 579
577 // Helper functions for generating inlined smi code for certain 580 // Helper functions for generating inlined smi code for certain
578 // binary operations. 581 // binary operations.
579 void EmitInlineSmiBinaryOp(BinaryOperation* expr, 582 void EmitInlineSmiBinaryOp(BinaryOperation* expr,
580 Token::Value op, 583 Token::Value op,
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 1039
1037 Address start_; 1040 Address start_;
1038 Address instruction_start_; 1041 Address instruction_start_;
1039 uint32_t length_; 1042 uint32_t length_;
1040 }; 1043 };
1041 1044
1042 1045
1043 } } // namespace v8::internal 1046 } } // namespace v8::internal
1044 1047
1045 #endif // V8_FULL_CODEGEN_H_ 1048 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698