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

Side by Side Diff: src/arm/full-codegen-arm.cc

Issue 239163012: Revert "ES6: Add support for Map/Set forEach" (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 | « no previous file | src/arm64/full-codegen-arm64.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 2260 matching lines...) Expand 10 before | Expand all | Expand 10 after
2271 2271
2272 __ bind(&done); 2272 __ bind(&done);
2273 context()->Plug(result_register()); 2273 context()->Plug(result_register());
2274 } 2274 }
2275 2275
2276 2276
2277 void FullCodeGenerator::EmitCreateIteratorResult(bool done) { 2277 void FullCodeGenerator::EmitCreateIteratorResult(bool done) {
2278 Label gc_required; 2278 Label gc_required;
2279 Label allocated; 2279 Label allocated;
2280 2280
2281 Handle<Map> map(isolate()->native_context()->iterator_result_map()); 2281 Handle<Map> map(isolate()->native_context()->generator_result_map());
2282 2282
2283 __ Allocate(map->instance_size(), r0, r2, r3, &gc_required, TAG_OBJECT); 2283 __ Allocate(map->instance_size(), r0, r2, r3, &gc_required, TAG_OBJECT);
2284 __ jmp(&allocated); 2284 __ jmp(&allocated);
2285 2285
2286 __ bind(&gc_required); 2286 __ bind(&gc_required);
2287 __ Push(Smi::FromInt(map->instance_size())); 2287 __ Push(Smi::FromInt(map->instance_size()));
2288 __ CallRuntime(Runtime::kHiddenAllocateInNewSpace, 1); 2288 __ CallRuntime(Runtime::kHiddenAllocateInNewSpace, 1);
2289 __ ldr(context_register(), 2289 __ ldr(context_register(),
2290 MemOperand(fp, StandardFrameConstants::kContextOffset)); 2290 MemOperand(fp, StandardFrameConstants::kContextOffset));
2291 2291
(...skipping 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after
4932 4932
4933 ASSERT(interrupt_address == 4933 ASSERT(interrupt_address ==
4934 isolate->builtins()->OsrAfterStackCheck()->entry()); 4934 isolate->builtins()->OsrAfterStackCheck()->entry());
4935 return OSR_AFTER_STACK_CHECK; 4935 return OSR_AFTER_STACK_CHECK;
4936 } 4936 }
4937 4937
4938 4938
4939 } } // namespace v8::internal 4939 } } // namespace v8::internal
4940 4940
4941 #endif // V8_TARGET_ARCH_ARM 4941 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698