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

Side by Side Diff: src/hydrogen.cc

Issue 251933004: Ignore debug stepin in optimized code for array builtins. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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/array.js ('k') | src/runtime.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 11134 matching lines...) Expand 10 before | Expand all | Expand 10 after
11145 } 11145 }
11146 11146
11147 11147
11148 void HOptimizedGraphBuilder::GenerateDebugBreakInOptimizedCode( 11148 void HOptimizedGraphBuilder::GenerateDebugBreakInOptimizedCode(
11149 CallRuntime* call) { 11149 CallRuntime* call) {
11150 Add<HDebugBreak>(); 11150 Add<HDebugBreak>();
11151 return ast_context()->ReturnValue(graph()->GetConstant0()); 11151 return ast_context()->ReturnValue(graph()->GetConstant0());
11152 } 11152 }
11153 11153
11154 11154
11155 void HOptimizedGraphBuilder::GenerateDebugCallbackSupportsStepping(
11156 CallRuntime* call) {
11157 ASSERT(call->arguments()->length() == 1);
11158 // Debugging is not supported in optimized code.
11159 return ast_context()->ReturnValue(graph()->GetConstantFalse());
11160 }
11161
11162
11155 #undef CHECK_BAILOUT 11163 #undef CHECK_BAILOUT
11156 #undef CHECK_ALIVE 11164 #undef CHECK_ALIVE
11157 11165
11158 11166
11159 HEnvironment::HEnvironment(HEnvironment* outer, 11167 HEnvironment::HEnvironment(HEnvironment* outer,
11160 Scope* scope, 11168 Scope* scope,
11161 Handle<JSFunction> closure, 11169 Handle<JSFunction> closure,
11162 Zone* zone) 11170 Zone* zone)
11163 : closure_(closure), 11171 : closure_(closure),
11164 values_(0, zone), 11172 values_(0, zone),
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
11778 if (ShouldProduceTraceOutput()) { 11786 if (ShouldProduceTraceOutput()) {
11779 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 11787 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
11780 } 11788 }
11781 11789
11782 #ifdef DEBUG 11790 #ifdef DEBUG
11783 graph_->Verify(false); // No full verify. 11791 graph_->Verify(false); // No full verify.
11784 #endif 11792 #endif
11785 } 11793 }
11786 11794
11787 } } // namespace v8::internal 11795 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/array.js ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698