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

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

Issue 1434873004: [turbofan] Pass new target to JSCreate nodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_inlining-constructor-1
Patch Set: Created 5 years, 1 month 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-inlining.cc ('k') | test/unittests/compiler/js-operator-unittest.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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 V(NotEqual, Operator::kNoProperties, 2, 1) \ 356 V(NotEqual, Operator::kNoProperties, 2, 1) \
357 V(StrictEqual, Operator::kNoThrow, 2, 1) \ 357 V(StrictEqual, Operator::kNoThrow, 2, 1) \
358 V(StrictNotEqual, Operator::kNoThrow, 2, 1) \ 358 V(StrictNotEqual, Operator::kNoThrow, 2, 1) \
359 V(UnaryNot, Operator::kEliminatable, 1, 1) \ 359 V(UnaryNot, Operator::kEliminatable, 1, 1) \
360 V(ToBoolean, Operator::kEliminatable, 1, 1) \ 360 V(ToBoolean, Operator::kEliminatable, 1, 1) \
361 V(ToNumber, Operator::kNoProperties, 1, 1) \ 361 V(ToNumber, Operator::kNoProperties, 1, 1) \
362 V(ToString, Operator::kNoProperties, 1, 1) \ 362 V(ToString, Operator::kNoProperties, 1, 1) \
363 V(ToName, Operator::kNoProperties, 1, 1) \ 363 V(ToName, Operator::kNoProperties, 1, 1) \
364 V(ToObject, Operator::kNoProperties, 1, 1) \ 364 V(ToObject, Operator::kNoProperties, 1, 1) \
365 V(Yield, Operator::kNoProperties, 1, 1) \ 365 V(Yield, Operator::kNoProperties, 1, 1) \
366 V(Create, Operator::kEliminatable, 1, 1) \ 366 V(Create, Operator::kEliminatable, 2, 1) \
367 V(HasProperty, Operator::kNoProperties, 2, 1) \ 367 V(HasProperty, Operator::kNoProperties, 2, 1) \
368 V(TypeOf, Operator::kEliminatable, 1, 1) \ 368 V(TypeOf, Operator::kEliminatable, 1, 1) \
369 V(InstanceOf, Operator::kNoProperties, 2, 1) \ 369 V(InstanceOf, Operator::kNoProperties, 2, 1) \
370 V(ForInDone, Operator::kPure, 2, 1) \ 370 V(ForInDone, Operator::kPure, 2, 1) \
371 V(ForInNext, Operator::kNoProperties, 4, 1) \ 371 V(ForInNext, Operator::kNoProperties, 4, 1) \
372 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ 372 V(ForInPrepare, Operator::kNoProperties, 1, 3) \
373 V(ForInStep, Operator::kPure, 1, 1) \ 373 V(ForInStep, Operator::kPure, 1, 1) \
374 V(LoadMessage, Operator::kNoThrow, 0, 1) \ 374 V(LoadMessage, Operator::kNoThrow, 0, 1) \
375 V(StoreMessage, Operator::kNoThrow, 1, 0) \ 375 V(StoreMessage, Operator::kNoThrow, 1, 0) \
376 V(StackCheck, Operator::kNoProperties, 0, 0) \ 376 V(StackCheck, Operator::kNoProperties, 0, 0) \
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 Handle<ScopeInfo>::hash>( // -- 703 Handle<ScopeInfo>::hash>( // --
704 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode 704 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode
705 "JSCreateScriptContext", // name 705 "JSCreateScriptContext", // name
706 1, 1, 1, 1, 1, 2, // counts 706 1, 1, 1, 1, 1, 2, // counts
707 scpope_info); // parameter 707 scpope_info); // parameter
708 } 708 }
709 709
710 } // namespace compiler 710 } // namespace compiler
711 } // namespace internal 711 } // namespace internal
712 } // namespace v8 712 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | test/unittests/compiler/js-operator-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698