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/compiler/js-operator.cc

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: rebase Created 4 years 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/compiler/js-operator.h ('k') | src/compiler/linkage.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/compiler/js-operator.h" 5 #include "src/compiler/js-operator.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/lazy-instance.h" 9 #include "src/base/lazy-instance.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 V(HasProperty, Operator::kNoProperties, 2, 1) \ 473 V(HasProperty, Operator::kNoProperties, 2, 1) \
474 V(TypeOf, Operator::kPure, 1, 1) \ 474 V(TypeOf, Operator::kPure, 1, 1) \
475 V(InstanceOf, Operator::kNoProperties, 2, 1) \ 475 V(InstanceOf, Operator::kNoProperties, 2, 1) \
476 V(OrdinaryHasInstance, Operator::kNoProperties, 2, 1) \ 476 V(OrdinaryHasInstance, Operator::kNoProperties, 2, 1) \
477 V(ForInNext, Operator::kNoProperties, 4, 1) \ 477 V(ForInNext, Operator::kNoProperties, 4, 1) \
478 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ 478 V(ForInPrepare, Operator::kNoProperties, 1, 3) \
479 V(LoadMessage, Operator::kNoThrow, 0, 1) \ 479 V(LoadMessage, Operator::kNoThrow, 0, 1) \
480 V(StoreMessage, Operator::kNoThrow, 1, 0) \ 480 V(StoreMessage, Operator::kNoThrow, 1, 0) \
481 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ 481 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \
482 V(StackCheck, Operator::kNoWrite, 0, 0) \ 482 V(StackCheck, Operator::kNoWrite, 0, 0) \
483 V(GetSuperConstructor, Operator::kNoWrite, 1, 1) \
483 V(StoreDataPropertyInLiteral, Operator::kNoProperties, 5, 0) 484 V(StoreDataPropertyInLiteral, Operator::kNoProperties, 5, 0)
484 485
485 #define BINARY_OP_LIST(V) \ 486 #define BINARY_OP_LIST(V) \
486 V(BitwiseOr) \ 487 V(BitwiseOr) \
487 V(BitwiseXor) \ 488 V(BitwiseXor) \
488 V(BitwiseAnd) \ 489 V(BitwiseAnd) \
489 V(ShiftLeft) \ 490 V(ShiftLeft) \
490 V(ShiftRight) \ 491 V(ShiftRight) \
491 V(ShiftRightLogical) \ 492 V(ShiftRightLogical) \
492 V(Add) \ 493 V(Add) \
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- 933 return new (zone()) Operator1<Handle<ScopeInfo>>( // --
933 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode 934 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode
934 "JSCreateScriptContext", // name 935 "JSCreateScriptContext", // name
935 1, 1, 1, 1, 1, 2, // counts 936 1, 1, 1, 1, 1, 2, // counts
936 scpope_info); // parameter 937 scpope_info); // parameter
937 } 938 }
938 939
939 } // namespace compiler 940 } // namespace compiler
940 } // namespace internal 941 } // namespace internal
941 } // namespace v8 942 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698