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

Side by Side 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, 5 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/full-codegen.cc ('k') | src/runtime.h » ('j') | src/runtime.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10927 matching lines...) Expand 10 before | Expand all | Expand 10 after
10938 void HOptimizedGraphBuilder::GenerateGeneratorNext(CallRuntime* call) { 10938 void HOptimizedGraphBuilder::GenerateGeneratorNext(CallRuntime* call) {
10939 return Bailout("inlined runtime function: GeneratorNext"); 10939 return Bailout("inlined runtime function: GeneratorNext");
10940 } 10940 }
10941 10941
10942 10942
10943 void HOptimizedGraphBuilder::GenerateGeneratorThrow(CallRuntime* call) { 10943 void HOptimizedGraphBuilder::GenerateGeneratorThrow(CallRuntime* call) {
10944 return Bailout("inlined runtime function: GeneratorThrow"); 10944 return Bailout("inlined runtime function: GeneratorThrow");
10945 } 10945 }
10946 10946
10947 10947
10948 void HOptimizedGraphBuilder::GenerateHDebugBreak(CallRuntime* call) {
10949 AddInstruction(new(zone()) HDebugBreak());
10950 }
10951
10952
10948 #undef CHECK_BAILOUT 10953 #undef CHECK_BAILOUT
10949 #undef CHECK_ALIVE 10954 #undef CHECK_ALIVE
10950 10955
10951 10956
10952 HEnvironment::HEnvironment(HEnvironment* outer, 10957 HEnvironment::HEnvironment(HEnvironment* outer,
10953 Scope* scope, 10958 Scope* scope,
10954 Handle<JSFunction> closure, 10959 Handle<JSFunction> closure,
10955 Zone* zone) 10960 Zone* zone)
10956 : closure_(closure), 10961 : closure_(closure),
10957 values_(0, zone), 10962 values_(0, zone),
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
11554 if (ShouldProduceTraceOutput()) { 11559 if (ShouldProduceTraceOutput()) {
11555 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 11560 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
11556 } 11561 }
11557 11562
11558 #ifdef DEBUG 11563 #ifdef DEBUG
11559 graph_->Verify(false); // No full verify. 11564 graph_->Verify(false); // No full verify.
11560 #endif 11565 #endif
11561 } 11566 }
11562 11567
11563 } } // namespace v8::internal 11568 } } // namespace v8::internal
OLDNEW
« 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