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

Side by Side Diff: src/compiler/js-operator.h

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: Convert GetSuperConstructor to a new interpreter bytecode 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_JS_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/runtime/runtime.h" 10 #include "src/runtime/runtime.h"
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 485
486 const Operator* StoreProperty(LanguageMode language_mode, 486 const Operator* StoreProperty(LanguageMode language_mode,
487 VectorSlotPair const& feedback); 487 VectorSlotPair const& feedback);
488 const Operator* StoreNamed(LanguageMode language_mode, Handle<Name> name, 488 const Operator* StoreNamed(LanguageMode language_mode, Handle<Name> name,
489 VectorSlotPair const& feedback); 489 VectorSlotPair const& feedback);
490 490
491 const Operator* DeleteProperty(LanguageMode language_mode); 491 const Operator* DeleteProperty(LanguageMode language_mode);
492 492
493 const Operator* HasProperty(); 493 const Operator* HasProperty();
494 494
495 const Operator* GetSuperConstructor();
496
495 const Operator* LoadGlobal(const Handle<Name>& name, 497 const Operator* LoadGlobal(const Handle<Name>& name,
496 const VectorSlotPair& feedback, 498 const VectorSlotPair& feedback,
497 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); 499 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF);
498 const Operator* StoreGlobal(LanguageMode language_mode, 500 const Operator* StoreGlobal(LanguageMode language_mode,
499 const Handle<Name>& name, 501 const Handle<Name>& name,
500 const VectorSlotPair& feedback); 502 const VectorSlotPair& feedback);
501 503
502 const Operator* LoadContext(size_t depth, size_t index, bool immutable); 504 const Operator* LoadContext(size_t depth, size_t index, bool immutable);
503 const Operator* StoreContext(size_t depth, size_t index); 505 const Operator* StoreContext(size_t depth, size_t index);
504 506
(...skipping 30 matching lines...) Expand all
535 Zone* const zone_; 537 Zone* const zone_;
536 538
537 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 539 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
538 }; 540 };
539 541
540 } // namespace compiler 542 } // namespace compiler
541 } // namespace internal 543 } // namespace internal
542 } // namespace v8 544 } // namespace v8
543 545
544 #endif // V8_COMPILER_JS_OPERATOR_H_ 546 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698