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 2118253002: [turbofan] Mark JSStackCheck as no-write. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 V(HasProperty, Operator::kNoProperties, 2, 1) \ 415 V(HasProperty, Operator::kNoProperties, 2, 1) \
416 V(TypeOf, Operator::kPure, 1, 1) \ 416 V(TypeOf, Operator::kPure, 1, 1) \
417 V(InstanceOf, Operator::kNoProperties, 2, 1) \ 417 V(InstanceOf, Operator::kNoProperties, 2, 1) \
418 V(ForInDone, Operator::kPure, 2, 1) \ 418 V(ForInDone, Operator::kPure, 2, 1) \
419 V(ForInNext, Operator::kNoProperties, 4, 1) \ 419 V(ForInNext, Operator::kNoProperties, 4, 1) \
420 V(ForInPrepare, Operator::kNoProperties, 1, 3) \ 420 V(ForInPrepare, Operator::kNoProperties, 1, 3) \
421 V(ForInStep, Operator::kPure, 1, 1) \ 421 V(ForInStep, Operator::kPure, 1, 1) \
422 V(LoadMessage, Operator::kNoThrow, 0, 1) \ 422 V(LoadMessage, Operator::kNoThrow, 0, 1) \
423 V(StoreMessage, Operator::kNoThrow, 1, 0) \ 423 V(StoreMessage, Operator::kNoThrow, 1, 0) \
424 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \ 424 V(GeneratorRestoreContinuation, Operator::kNoThrow, 1, 1) \
425 V(StackCheck, Operator::kNoProperties, 0, 0) \ 425 V(StackCheck, Operator::kNoWrite, 0, 0) \
426 V(CreateWithContext, Operator::kNoProperties, 2, 1) 426 V(CreateWithContext, Operator::kNoProperties, 2, 1)
427 427
428 struct JSOperatorGlobalCache final { 428 struct JSOperatorGlobalCache final {
429 #define CACHED(Name, properties, value_input_count, value_output_count) \ 429 #define CACHED(Name, properties, value_input_count, value_output_count) \
430 struct Name##Operator final : public Operator { \ 430 struct Name##Operator final : public Operator { \
431 Name##Operator() \ 431 Name##Operator() \
432 : Operator(IrOpcode::kJS##Name, properties, "JS" #Name, \ 432 : Operator(IrOpcode::kJS##Name, properties, "JS" #Name, \
433 value_input_count, Operator::ZeroIfPure(properties), \ 433 value_input_count, Operator::ZeroIfPure(properties), \
434 Operator::ZeroIfEliminatable(properties), \ 434 Operator::ZeroIfEliminatable(properties), \
435 value_output_count, Operator::ZeroIfPure(properties), \ 435 value_output_count, Operator::ZeroIfPure(properties), \
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 return new (zone()) Operator1<Handle<ScopeInfo>>( // -- 915 return new (zone()) Operator1<Handle<ScopeInfo>>( // --
916 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode 916 IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode
917 "JSCreateScriptContext", // name 917 "JSCreateScriptContext", // name
918 1, 1, 1, 1, 1, 2, // counts 918 1, 1, 1, 1, 1, 2, // counts
919 scpope_info); // parameter 919 scpope_info); // parameter
920 } 920 }
921 921
922 } // namespace compiler 922 } // namespace compiler
923 } // namespace internal 923 } // namespace internal
924 } // namespace v8 924 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698