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

Side by Side Diff: src/full-codegen/full-codegen.h

Issue 2411873004: [ignition] Eliminate hole checks where statically possible for loads and stores (Closed)
Patch Set: Rebased Created 4 years, 2 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 | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/full-codegen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_FULL_CODEGEN_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 TypeofMode typeof_mode, Label* slow); 511 TypeofMode typeof_mode, Label* slow);
512 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); 512 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow);
513 void EmitDynamicLookupFastCase(VariableProxy* proxy, TypeofMode typeof_mode, 513 void EmitDynamicLookupFastCase(VariableProxy* proxy, TypeofMode typeof_mode,
514 Label* slow, Label* done); 514 Label* slow, Label* done);
515 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode); 515 void EmitGlobalVariableLoad(VariableProxy* proxy, TypeofMode typeof_mode);
516 void EmitVariableLoad(VariableProxy* proxy, 516 void EmitVariableLoad(VariableProxy* proxy,
517 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF); 517 TypeofMode typeof_mode = NOT_INSIDE_TYPEOF);
518 518
519 void EmitAccessor(ObjectLiteralProperty* property); 519 void EmitAccessor(ObjectLiteralProperty* property);
520 520
521 bool NeedsHoleCheckForLoad(VariableProxy* proxy);
522
523 // Expects the arguments and the function already pushed. 521 // Expects the arguments and the function already pushed.
524 void EmitResolvePossiblyDirectEval(Call* expr); 522 void EmitResolvePossiblyDirectEval(Call* expr);
525 523
526 // Platform-specific support for allocating a new closure based on 524 // Platform-specific support for allocating a new closure based on
527 // the given function info. 525 // the given function info.
528 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); 526 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure);
529 527
530 // Re-usable portions of CallRuntime 528 // Re-usable portions of CallRuntime
531 void EmitLoadJSRuntimeFunction(CallRuntime* expr); 529 void EmitLoadJSRuntimeFunction(CallRuntime* expr);
532 void EmitCallJSRuntimeFunction(CallRuntime* expr); 530 void EmitCallJSRuntimeFunction(CallRuntime* expr);
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 Address start_; 1020 Address start_;
1023 Address instruction_start_; 1021 Address instruction_start_;
1024 uint32_t length_; 1022 uint32_t length_;
1025 }; 1023 };
1026 1024
1027 1025
1028 } // namespace internal 1026 } // namespace internal
1029 } // namespace v8 1027 } // namespace v8
1030 1028
1031 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1029 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698