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/full-codegen.h

Issue 139973004: A64: Synchronize with r15814. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/frames.cc ('k') | src/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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 static const int kCodeSizeMultiplier = 142; 132 static const int kCodeSizeMultiplier = 142;
133 #elif V8_TARGET_ARCH_A64 133 #elif V8_TARGET_ARCH_A64
134 // TODO(all): Copied ARM value. Check this is sensible for A64. 134 // TODO(all): Copied ARM value. Check this is sensible for A64.
135 static const int kCodeSizeMultiplier = 142; 135 static const int kCodeSizeMultiplier = 142;
136 #elif V8_TARGET_ARCH_MIPS 136 #elif V8_TARGET_ARCH_MIPS
137 static const int kCodeSizeMultiplier = 142; 137 static const int kCodeSizeMultiplier = 142;
138 #else 138 #else
139 #error Unsupported target architecture. 139 #error Unsupported target architecture.
140 #endif 140 #endif
141 141
142 static const int kBackEdgeEntrySize = 2 * kIntSize + kOneByteSize; 142 static const int kBackEdgeEntrySize = 3 * kIntSize;
143 143
144 private: 144 private:
145 class Breakable; 145 class Breakable;
146 class Iteration; 146 class Iteration;
147 147
148 class TestContext; 148 class TestContext;
149 149
150 class NestedStatement BASE_EMBEDDED { 150 class NestedStatement BASE_EMBEDDED {
151 public: 151 public:
152 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) { 152 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) {
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 Handle<FixedArray> handler_table() { return handler_table_; } 644 Handle<FixedArray> handler_table() { return handler_table_; }
645 645
646 struct BailoutEntry { 646 struct BailoutEntry {
647 BailoutId id; 647 BailoutId id;
648 unsigned pc_and_state; 648 unsigned pc_and_state;
649 }; 649 };
650 650
651 struct BackEdgeEntry { 651 struct BackEdgeEntry {
652 BailoutId id; 652 BailoutId id;
653 unsigned pc; 653 unsigned pc;
654 uint8_t loop_depth; 654 uint32_t loop_depth;
655 }; 655 };
656 656
657 struct TypeFeedbackCellEntry { 657 struct TypeFeedbackCellEntry {
658 TypeFeedbackId ast_id; 658 TypeFeedbackId ast_id;
659 Handle<Cell> cell; 659 Handle<Cell> cell;
660 }; 660 };
661 661
662 662
663 class ExpressionContext BASE_EMBEDDED { 663 class ExpressionContext BASE_EMBEDDED {
664 public: 664 public:
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 } 881 }
882 882
883 private: 883 private:
884 Zone* zone_; 884 Zone* zone_;
885 }; 885 };
886 886
887 887
888 } } // namespace v8::internal 888 } } // namespace v8::internal
889 889
890 #endif // V8_FULL_CODEGEN_H_ 890 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/frames.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698