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

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

Issue 19846005: Merged r15782 into 3.18 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.18
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/deoptimizer.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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 #elif V8_TARGET_ARCH_X64 128 #elif V8_TARGET_ARCH_X64
129 static const int kBackEdgeDistanceUnit = 162; 129 static const int kBackEdgeDistanceUnit = 162;
130 #elif V8_TARGET_ARCH_ARM 130 #elif V8_TARGET_ARCH_ARM
131 static const int kBackEdgeDistanceUnit = 142; 131 static const int kBackEdgeDistanceUnit = 142;
132 #elif V8_TARGET_ARCH_MIPS 132 #elif V8_TARGET_ARCH_MIPS
133 static const int kBackEdgeDistanceUnit = 142; 133 static const int kBackEdgeDistanceUnit = 142;
134 #else 134 #else
135 #error Unsupported target architecture. 135 #error Unsupported target architecture.
136 #endif 136 #endif
137 137
138 static const int kBackEdgeEntrySize = 2 * kIntSize + kOneByteSize; 138 static const int kBackEdgeEntrySize = 3 * kIntSize;
139 139
140 private: 140 private:
141 class Breakable; 141 class Breakable;
142 class Iteration; 142 class Iteration;
143 143
144 class TestContext; 144 class TestContext;
145 145
146 class NestedStatement BASE_EMBEDDED { 146 class NestedStatement BASE_EMBEDDED {
147 public: 147 public:
148 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) { 148 explicit NestedStatement(FullCodeGenerator* codegen) : codegen_(codegen) {
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 Handle<FixedArray> handler_table() { return handler_table_; } 626 Handle<FixedArray> handler_table() { return handler_table_; }
627 627
628 struct BailoutEntry { 628 struct BailoutEntry {
629 BailoutId id; 629 BailoutId id;
630 unsigned pc_and_state; 630 unsigned pc_and_state;
631 }; 631 };
632 632
633 struct BackEdgeEntry { 633 struct BackEdgeEntry {
634 BailoutId id; 634 BailoutId id;
635 unsigned pc; 635 unsigned pc;
636 uint8_t loop_depth; 636 uint32_t loop_depth;
637 }; 637 };
638 638
639 struct TypeFeedbackCellEntry { 639 struct TypeFeedbackCellEntry {
640 TypeFeedbackId ast_id; 640 TypeFeedbackId ast_id;
641 Handle<JSGlobalPropertyCell> cell; 641 Handle<JSGlobalPropertyCell> cell;
642 }; 642 };
643 643
644 644
645 class ExpressionContext BASE_EMBEDDED { 645 class ExpressionContext BASE_EMBEDDED {
646 public: 646 public:
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 } 863 }
864 864
865 private: 865 private:
866 Zone* zone_; 866 Zone* zone_;
867 }; 867 };
868 868
869 869
870 } } // namespace v8::internal 870 } } // namespace v8::internal
871 871
872 #endif // V8_FULL_CODEGEN_H_ 872 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698