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

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

Issue 2484003002: [builtins] implement JSBuiltinReducer for ArrayIteratorNext() (Closed)
Patch Set: fix tests when ignition is used Created 4 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-operator.h ('k') | src/compiler/opcodes.h » ('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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 438
439 #define CACHED_OP_LIST(V) \ 439 #define CACHED_OP_LIST(V) \
440 V(ToInteger, Operator::kNoProperties, 1, 1) \ 440 V(ToInteger, Operator::kNoProperties, 1, 1) \
441 V(ToLength, Operator::kNoProperties, 1, 1) \ 441 V(ToLength, Operator::kNoProperties, 1, 1) \
442 V(ToName, Operator::kNoProperties, 1, 1) \ 442 V(ToName, Operator::kNoProperties, 1, 1) \
443 V(ToNumber, Operator::kNoProperties, 1, 1) \ 443 V(ToNumber, Operator::kNoProperties, 1, 1) \
444 V(ToObject, Operator::kFoldable, 1, 1) \ 444 V(ToObject, Operator::kFoldable, 1, 1) \
445 V(ToString, Operator::kNoProperties, 1, 1) \ 445 V(ToString, Operator::kNoProperties, 1, 1) \
446 V(Create, Operator::kEliminatable, 2, 1) \ 446 V(Create, Operator::kEliminatable, 2, 1) \
447 V(CreateIterResultObject, Operator::kEliminatable, 2, 1) \ 447 V(CreateIterResultObject, Operator::kEliminatable, 2, 1) \
448 V(CreateKeyValueArray, Operator::kEliminatable, 2, 1) \
448 V(HasProperty, Operator::kNoProperties, 2, 1) \ 449 V(HasProperty, Operator::kNoProperties, 2, 1) \
449 V(TypeOf, Operator::kPure, 1, 1) \ 450 V(TypeOf, Operator::kPure, 1, 1) \
450 V(InstanceOf, Operator::kNoProperties, 2, 1) \ 451 V(InstanceOf, Operator::kNoProperties, 2, 1) \
451 V(ForInNext, Operator::kNoProperties, 4, 1) \ 452 V(ForInNext, Operator::kNoProperties, 4, 1) \
452 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ 453 V(ForInPrepare, Operator::kNoProperties, 1, 3) \
453 V(LoadMessage, Operator::kNoThrow, 0, 1) \ 454 V(LoadMessage, Operator::kNoThrow, 0, 1) \
454 V(StoreMessage, Operator::kNoThrow, 1, 0) \ 455 V(StoreMessage, Operator::kNoThrow, 1, 0) \
455 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ 456 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \
456 V(StackCheck, Operator::kNoWrite, 0, 0) 457 V(StackCheck, Operator::kNoWrite, 0, 0)
457 458
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- 895 return new (zone()) Operator1<Handle<ScopeInfo>>( // --
895 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode 896 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode
896 "JSCreateScriptContext", // name 897 "JSCreateScriptContext", // name
897 1, 1, 1, 1, 1, 2, // counts 898 1, 1, 1, 1, 1, 2, // counts
898 scpope_info); // parameter 899 scpope_info); // parameter
899 } 900 }
900 901
901 } // namespace compiler 902 } // namespace compiler
902 } // namespace internal 903 } // namespace internal
903 } // namespace v8 904 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698