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

Side by Side Diff: src/hydrogen.cc

Issue 14066016: Generators can resume (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Use Abort() instead of int3() Created 7 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
« no previous file with comments | « src/generator.js ('k') | src/ia32/full-codegen-ia32.cc » ('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 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 11179 matching lines...) Expand 10 before | Expand all | Expand 10 after
11190 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value); 11190 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value);
11191 return ast_context()->ReturnInstruction(result, call->id()); 11191 return ast_context()->ReturnInstruction(result, call->id());
11192 } 11192 }
11193 11193
11194 11194
11195 void HOptimizedGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { 11195 void HOptimizedGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) {
11196 return Bailout("inlined runtime function: FastAsciiArrayJoin"); 11196 return Bailout("inlined runtime function: FastAsciiArrayJoin");
11197 } 11197 }
11198 11198
11199 11199
11200 // Support for generators.
11201 void HOptimizedGraphBuilder::GenerateGeneratorSend(CallRuntime* call) {
11202 return Bailout("inlined runtime function: GeneratorSend");
11203 }
11204
11205
11206 void HOptimizedGraphBuilder::GenerateGeneratorThrow(CallRuntime* call) {
11207 return Bailout("inlined runtime function: GeneratorThrow");
11208 }
11209
11210
11200 #undef CHECK_BAILOUT 11211 #undef CHECK_BAILOUT
11201 #undef CHECK_ALIVE 11212 #undef CHECK_ALIVE
11202 11213
11203 11214
11204 HEnvironment::HEnvironment(HEnvironment* outer, 11215 HEnvironment::HEnvironment(HEnvironment* outer,
11205 Scope* scope, 11216 Scope* scope,
11206 Handle<JSFunction> closure, 11217 Handle<JSFunction> closure,
11207 Zone* zone) 11218 Zone* zone)
11208 : closure_(closure), 11219 : closure_(closure),
11209 values_(0, zone), 11220 values_(0, zone),
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
11870 } 11881 }
11871 } 11882 }
11872 11883
11873 #ifdef DEBUG 11884 #ifdef DEBUG
11874 if (graph_ != NULL) graph_->Verify(false); // No full verify. 11885 if (graph_ != NULL) graph_->Verify(false); // No full verify.
11875 if (allocator_ != NULL) allocator_->Verify(); 11886 if (allocator_ != NULL) allocator_->Verify();
11876 #endif 11887 #endif
11877 } 11888 }
11878 11889
11879 } } // namespace v8::internal 11890 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/generator.js ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698