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

Side by Side Diff: src/jump-target-light.h

Issue 2163006: ARM: Update the full compiler to handle all code... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 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/ia32/full-codegen-ia32.cc ('k') | src/x64/full-codegen-x64.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 virtual ~JumpTarget() {} 68 virtual ~JumpTarget() {}
69 69
70 void Unuse() { 70 void Unuse() {
71 entry_frame_set_ = false; 71 entry_frame_set_ = false;
72 entry_label_.Unuse(); 72 entry_label_.Unuse();
73 } 73 }
74 74
75 inline CodeGenerator* cgen(); 75 inline CodeGenerator* cgen();
76 76
77 Label* entry_label() { return &entry_label_; }
78
77 const VirtualFrame* entry_frame() const { 79 const VirtualFrame* entry_frame() const {
78 return entry_frame_set_ ? &entry_frame_ : NULL; 80 return entry_frame_set_ ? &entry_frame_ : NULL;
79 } 81 }
80 82
81 void set_entry_frame(VirtualFrame* frame) { 83 void set_entry_frame(VirtualFrame* frame) {
82 entry_frame_ = *frame; 84 entry_frame_ = *frame;
83 entry_frame_set_ = true; 85 entry_frame_set_ = true;
84 } 86 }
85 87
86 // Predicates testing the state of the encapsulated label. 88 // Predicates testing the state of the encapsulated label.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 180
179 private: 181 private:
180 // The expected height of the expression stack where the target will 182 // The expected height of the expression stack where the target will
181 // be bound, statically known at initialization time. 183 // be bound, statically known at initialization time.
182 int expected_height_; 184 int expected_height_;
183 }; 185 };
184 186
185 } } // namespace v8::internal 187 } } // namespace v8::internal
186 188
187 #endif // V8_JUMP_TARGET_LIGHT_H_ 189 #endif // V8_JUMP_TARGET_LIGHT_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698