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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 22866025: Always generate full unoptimized code for intrinsified methods. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/intrinsifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.cc
===================================================================
--- runtime/vm/flow_graph_compiler_x64.cc (revision 26635)
+++ runtime/vm/flow_graph_compiler_x64.cc (working copy)
@@ -1115,16 +1115,9 @@
void FlowGraphCompiler::CompileGraph() {
InitCompiler();
- if (TryIntrinsify()) {
- // Although this intrinsified code will never be patched, it must satisfy
- // CodePatcher::CodeIsPatchable, which verifies that this code has a minimum
- // code size, and nop(2) increases the minimum code size appropriately.
- __ nop(2);
- __ int3();
- __ jmp(&StubCode::FixCallersTargetLabel());
- return;
- }
+ TryIntrinsify();
+
EmitFrameEntry();
const Function& function = parsed_function().function();
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/intrinsifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698