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

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

Issue 2457393003: Thread decls-list through Declaration (Closed)
Patch Set: rename 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
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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 if (FLAG_verify_operand_stack_depth) EmitOperandStackDepthCheck(); 347 if (FLAG_verify_operand_stack_depth) EmitOperandStackDepthCheck();
348 TestContext context(this, expr, if_true, if_false, fall_through); 348 TestContext context(this, expr, if_true, if_false, fall_through);
349 Visit(expr); 349 Visit(expr);
350 // For test contexts, we prepare for bailout before branching, not at 350 // For test contexts, we prepare for bailout before branching, not at
351 // the end of the entire expression. This happens as part of visiting 351 // the end of the entire expression. This happens as part of visiting
352 // the expression. 352 // the expression.
353 } 353 }
354 354
355 void VisitInDuplicateContext(Expression* expr); 355 void VisitInDuplicateContext(Expression* expr);
356 356
357 void VisitDeclarations(ZoneList<Declaration*>* declarations); 357 void VisitDeclarations(Declaration::List* declarations);
358 void DeclareGlobals(Handle<FixedArray> pairs); 358 void DeclareGlobals(Handle<FixedArray> pairs);
359 int DeclareGlobalsFlags(); 359 int DeclareGlobalsFlags();
360 360
361 // Push, pop or drop values onto/from the operand stack. 361 // Push, pop or drop values onto/from the operand stack.
362 void PushOperand(Register reg); 362 void PushOperand(Register reg);
363 void PopOperand(Register reg); 363 void PopOperand(Register reg);
364 void DropOperands(int count); 364 void DropOperands(int count);
365 365
366 // Convenience helpers for pushing onto the operand stack. 366 // Convenience helpers for pushing onto the operand stack.
367 void PushOperand(MemOperand operand); 367 void PushOperand(MemOperand operand);
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 Address start_; 1020 Address start_;
1021 Address instruction_start_; 1021 Address instruction_start_;
1022 uint32_t length_; 1022 uint32_t length_;
1023 }; 1023 };
1024 1024
1025 1025
1026 } // namespace internal 1026 } // namespace internal
1027 } // namespace v8 1027 } // namespace v8
1028 1028
1029 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1029 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698