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

Side by Side Diff: src/ia32/lithium-codegen-ia32.h

Issue 21340002: Generate a custom OSR entrypoint for OSR compiles on all platforms, and transition to optimized cod… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 218 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
219 219
220 // Code generation passes. Returns true if code generation should 220 // Code generation passes. Returns true if code generation should
221 // continue. 221 // continue.
222 bool GeneratePrologue(); 222 bool GeneratePrologue();
223 bool GenerateBody(); 223 bool GenerateBody();
224 bool GenerateDeferredCode(); 224 bool GenerateDeferredCode();
225 bool GenerateJumpTable(); 225 bool GenerateJumpTable();
226 bool GenerateSafepointTable(); 226 bool GenerateSafepointTable();
227 227
228 void GenerateOsrPrologue();
Michael Starzinger 2013/07/31 14:55:50 nit: Let's add a short one-liner comment about thi
229
228 enum SafepointMode { 230 enum SafepointMode {
229 RECORD_SIMPLE_SAFEPOINT, 231 RECORD_SIMPLE_SAFEPOINT,
230 RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS 232 RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS
231 }; 233 };
232 234
233 void CallCode(Handle<Code> code, 235 void CallCode(Handle<Code> code,
234 RelocInfo::Mode mode, 236 RelocInfo::Mode mode,
235 LInstruction* instr); 237 LInstruction* instr);
236 238
237 void CallCodeGeneric(Handle<Code> code, 239 void CallCodeGeneric(Handle<Code> code,
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 LCodeGen* codegen_; 496 LCodeGen* codegen_;
495 Label entry_; 497 Label entry_;
496 Label exit_; 498 Label exit_;
497 Label* external_exit_; 499 Label* external_exit_;
498 int instruction_index_; 500 int instruction_index_;
499 }; 501 };
500 502
501 } } // namespace v8::internal 503 } } // namespace v8::internal
502 504
503 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 505 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698