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

Side by Side Diff: src/runtime/runtime-scopes.cc

Issue 983623002: Made the entries of the various *_FUNCTION_LISTs disjoint. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/runtime/runtime-regexp.cc ('k') | src/runtime/runtime-strings.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 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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/frames-inl.h" 9 #include "src/frames-inl.h"
10 #include "src/runtime/runtime-utils.h" 10 #include "src/runtime/runtime-utils.h"
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 1099
1100 // Lookup in the initial Object.prototype object. 1100 // Lookup in the initial Object.prototype object.
1101 Handle<Object> result; 1101 Handle<Object> result;
1102 ASSIGN_RETURN_FAILURE_ON_EXCEPTION( 1102 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
1103 isolate, result, 1103 isolate, result,
1104 Object::GetProperty(isolate->initial_object_prototype(), key)); 1104 Object::GetProperty(isolate->initial_object_prototype(), key));
1105 return *result; 1105 return *result;
1106 } 1106 }
1107 1107
1108 1108
1109 RUNTIME_FUNCTION(RuntimeReference_ArgumentsLength) { 1109 RUNTIME_FUNCTION(Runtime_ArgumentsLength) {
1110 SealHandleScope shs(isolate); 1110 SealHandleScope shs(isolate);
1111 DCHECK(args.length() == 0); 1111 DCHECK(args.length() == 0);
1112 JavaScriptFrameIterator it(isolate); 1112 JavaScriptFrameIterator it(isolate);
1113 JavaScriptFrame* frame = it.frame(); 1113 JavaScriptFrame* frame = it.frame();
1114 return Smi::FromInt(frame->GetArgumentsLength()); 1114 return Smi::FromInt(frame->GetArgumentsLength());
1115 } 1115 }
1116 1116
1117 1117
1118 RUNTIME_FUNCTION(RuntimeReference_Arguments) { 1118 RUNTIME_FUNCTION(Runtime_Arguments) {
1119 SealHandleScope shs(isolate); 1119 SealHandleScope shs(isolate);
1120 return __RT_impl_Runtime_GetArgumentsProperty(args, isolate); 1120 return __RT_impl_Runtime_GetArgumentsProperty(args, isolate);
1121 } 1121 }
1122 } 1122 }
1123 } // namespace v8::internal 1123 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | src/runtime/runtime-strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698