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

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

Issue 2615033002: [fullcodegen] Remove dead hole check logic (Closed)
Patch Set: x87 Created 3 years, 11 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
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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 Expression* right); 471 Expression* right);
472 472
473 // Assign to the given expression as if via '='. The right-hand-side value 473 // Assign to the given expression as if via '='. The right-hand-side value
474 // is expected in the accumulator. slot is only used if FLAG_vector_stores 474 // is expected in the accumulator. slot is only used if FLAG_vector_stores
475 // is true. 475 // is true.
476 void EmitAssignment(Expression* expr, FeedbackVectorSlot slot); 476 void EmitAssignment(Expression* expr, FeedbackVectorSlot slot);
477 477
478 // Complete a variable assignment. The right-hand-side value is expected 478 // Complete a variable assignment. The right-hand-side value is expected
479 // in the accumulator. 479 // in the accumulator.
480 void EmitVariableAssignment(Variable* var, Token::Value op, 480 void EmitVariableAssignment(Variable* var, Token::Value op,
481 FeedbackVectorSlot slot, 481 FeedbackVectorSlot slot);
482 HoleCheckMode hole_check_mode);
483 482
484 // Helper functions to EmitVariableAssignment 483 // Helper functions to EmitVariableAssignment
485 void EmitStoreToStackLocalOrContextSlot(Variable* var, 484 void EmitStoreToStackLocalOrContextSlot(Variable* var,
486 MemOperand location); 485 MemOperand location);
487 486
488 // Complete a named property assignment. The receiver is expected on top 487 // Complete a named property assignment. The receiver is expected on top
489 // of the stack and the right-hand-side value in the accumulator. 488 // of the stack and the right-hand-side value in the accumulator.
490 void EmitNamedPropertyAssignment(Assignment* expr); 489 void EmitNamedPropertyAssignment(Assignment* expr);
491 490
492 // Complete a keyed property assignment. The receiver and key are 491 // Complete a keyed property assignment. The receiver and key are
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 Address start_; 896 Address start_;
898 Address instruction_start_; 897 Address instruction_start_;
899 uint32_t length_; 898 uint32_t length_;
900 }; 899 };
901 900
902 901
903 } // namespace internal 902 } // namespace internal
904 } // namespace v8 903 } // namespace v8
905 904
906 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 905 #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/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698