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

Unified Diff: src/hydrogen.cc

Issue 17870002: Add %_DebugBreakInOptimizedCode() pseudo function call (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « src/full-codegen.cc ('k') | src/runtime.h » ('j') | src/runtime.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index b03bf699389be7864587415c6143280159f27979..6a82b2d2766be5b74b5562dfa23116b24b8c944c 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -10945,6 +10945,11 @@ void HOptimizedGraphBuilder::GenerateGeneratorThrow(CallRuntime* call) {
}
+void HOptimizedGraphBuilder::GenerateHDebugBreak(CallRuntime* call) {
+ AddInstruction(new(zone()) HDebugBreak());
+}
+
+
#undef CHECK_BAILOUT
#undef CHECK_ALIVE
« no previous file with comments | « src/full-codegen.cc ('k') | src/runtime.h » ('j') | src/runtime.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698