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

Side by Side Diff: src/code-stubs.cc

Issue 2646553002: Fix unused lambda captures. (Closed)
Patch Set: Add a workaround for MSVC++. Created 3 years, 11 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/builtins/builtins-array.cc ('k') | src/heap/mark-compact.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/code-stubs.h" 5 #include "src/code-stubs.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 1854 matching lines...) Expand 10 before | Expand all | Expand 10 after
1865 context, receiver, holder, holder_map, holder_instance_type, 1865 context, receiver, holder, holder_map, holder_instance_type,
1866 unique_name, &if_found, &var_value, next_holder, if_bailout); 1866 unique_name, &if_found, &var_value, next_holder, if_bailout);
1867 assembler.Bind(&if_found); 1867 assembler.Bind(&if_found);
1868 { 1868 {
1869 var_result.Bind(var_value.value()); 1869 var_result.Bind(var_value.value());
1870 assembler.Goto(&end); 1870 assembler.Goto(&end);
1871 } 1871 }
1872 }; 1872 };
1873 1873
1874 CodeStubAssembler::LookupInHolder lookup_element_in_holder = 1874 CodeStubAssembler::LookupInHolder lookup_element_in_holder =
1875 [&assembler, context, &var_result, &end]( 1875 [&assembler](
1876 Node* receiver, Node* holder, Node* holder_map, 1876 Node* receiver, Node* holder, Node* holder_map,
1877 Node* holder_instance_type, Node* index, Label* next_holder, 1877 Node* holder_instance_type, Node* index, Label* next_holder,
1878 Label* if_bailout) { 1878 Label* if_bailout) {
1879 // Not supported yet. 1879 // Not supported yet.
1880 assembler.Use(next_holder); 1880 assembler.Use(next_holder);
1881 assembler.Goto(if_bailout); 1881 assembler.Goto(if_bailout);
1882 }; 1882 };
1883 1883
1884 assembler.TryPrototypeChainLookup(object, key, lookup_property_in_holder, 1884 assembler.TryPrototypeChainLookup(object, key, lookup_property_in_holder,
1885 lookup_element_in_holder, &return_undefined, 1885 lookup_element_in_holder, &return_undefined,
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
2208 } 2208 }
2209 2209
2210 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) 2210 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate)
2211 : PlatformCodeStub(isolate) {} 2211 : PlatformCodeStub(isolate) {}
2212 2212
2213 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) 2213 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate)
2214 : PlatformCodeStub(isolate) {} 2214 : PlatformCodeStub(isolate) {}
2215 2215
2216 } // namespace internal 2216 } // namespace internal
2217 } // namespace v8 2217 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins-array.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698