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

Side by Side Diff: src/bootstrapper.cc

Issue 799853003: Use proper ToLength() operation in %ArrayConcat() (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tests for toString/valueOf throwing user exception Created 6 years 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 | « no previous file | src/contexts.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/extensions/externalize-string-extension.h" 9 #include "src/extensions/externalize-string-extension.h"
10 #include "src/extensions/free-buffer-extension.h" 10 #include "src/extensions/free-buffer-extension.h"
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 HandleScope scope(isolate()); 1518 HandleScope scope(isolate());
1519 INSTALL_NATIVE(JSFunction, "CreateDate", create_date_fun); 1519 INSTALL_NATIVE(JSFunction, "CreateDate", create_date_fun);
1520 1520
1521 INSTALL_NATIVE(JSFunction, "ToNumber", to_number_fun); 1521 INSTALL_NATIVE(JSFunction, "ToNumber", to_number_fun);
1522 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun); 1522 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun);
1523 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); 1523 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun);
1524 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); 1524 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun);
1525 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); 1525 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun);
1526 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); 1526 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun);
1527 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); 1527 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun);
1528 INSTALL_NATIVE(JSFunction, "ToLength", to_length_fun);
1528 1529
1529 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); 1530 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun);
1530 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); 1531 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun);
1531 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", 1532 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance",
1532 configure_instance_fun); 1533 configure_instance_fun);
1533 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); 1534 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun);
1534 INSTALL_NATIVE(JSObject, "functionCache", function_cache); 1535 INSTALL_NATIVE(JSObject, "functionCache", function_cache);
1535 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", 1536 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor",
1536 to_complete_property_descriptor); 1537 to_complete_property_descriptor);
1537 1538
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
2823 return from + sizeof(NestingCounterType); 2824 return from + sizeof(NestingCounterType);
2824 } 2825 }
2825 2826
2826 2827
2827 // Called when the top-level V8 mutex is destroyed. 2828 // Called when the top-level V8 mutex is destroyed.
2828 void Bootstrapper::FreeThreadResources() { 2829 void Bootstrapper::FreeThreadResources() {
2829 DCHECK(!IsActive()); 2830 DCHECK(!IsActive());
2830 } 2831 }
2831 2832
2832 } } // namespace v8::internal 2833 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698