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

Issue 362003: Fix issue 491: constantpool dump violates ARM debugger assertion for return p... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/codegen-arm.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 RegisterAllocator* allocator() const { return allocator_; } 181 RegisterAllocator* allocator() const { return allocator_; }
182 182
183 CodeGenState* state() { return state_; } 183 CodeGenState* state() { return state_; }
184 void set_state(CodeGenState* state) { state_ = state; } 184 void set_state(CodeGenState* state) { state_ = state; }
185 185
186 void AddDeferred(DeferredCode* code) { deferred_.Add(code); } 186 void AddDeferred(DeferredCode* code) { deferred_.Add(code); }
187 187
188 static const int kUnknownIntValue = -1; 188 static const int kUnknownIntValue = -1;
189 189
190 // Number of instructions used for the JS return sequence. The constant is
191 // used by the debugger to patch the JS return sequence.
192 static const int kJSReturnSequenceLength = 4;
193
194 private: 190 private:
195 // Construction/Destruction 191 // Construction/Destruction
196 CodeGenerator(int buffer_size, Handle<Script> script, bool is_eval); 192 CodeGenerator(int buffer_size, Handle<Script> script, bool is_eval);
197 virtual ~CodeGenerator() { delete masm_; } 193 virtual ~CodeGenerator() { delete masm_; }
198 194
199 // Accessors 195 // Accessors
200 Scope* scope() const { return scope_; } 196 Scope* scope() const { return scope_; }
201 197
202 // Generating deferred code. 198 // Generating deferred code.
203 void ProcessDeferred(); 199 void ProcessDeferred();
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 constant_rhs_); 528 constant_rhs_);
533 } 529 }
534 } 530 }
535 #endif 531 #endif
536 }; 532 };
537 533
538 534
539 } } // namespace v8::internal 535 } } // namespace v8::internal
540 536
541 #endif // V8_ARM_CODEGEN_ARM_H_ 537 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698