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

Side by Side Diff: src/execution.h

Issue 1143153004: Remove Execution::CharAt (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | src/execution.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 #ifndef V8_EXECUTION_H_ 5 #ifndef V8_EXECUTION_H_
6 #define V8_EXECUTION_H_ 6 #define V8_EXECUTION_H_
7 7
8 #include "src/handles.h" 8 #include "src/handles.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 Isolate* isolate, Handle<Object> obj); 87 Isolate* isolate, Handle<Object> obj);
88 88
89 // Create a new date object from 'time'. 89 // Create a new date object from 'time'.
90 MUST_USE_RESULT static MaybeHandle<Object> NewDate( 90 MUST_USE_RESULT static MaybeHandle<Object> NewDate(
91 Isolate* isolate, double time); 91 Isolate* isolate, double time);
92 92
93 // Create a new regular expression object from 'pattern' and 'flags'. 93 // Create a new regular expression object from 'pattern' and 'flags'.
94 MUST_USE_RESULT static MaybeHandle<JSRegExp> NewJSRegExp( 94 MUST_USE_RESULT static MaybeHandle<JSRegExp> NewJSRegExp(
95 Handle<String> pattern, Handle<String> flags); 95 Handle<String> pattern, Handle<String> flags);
96 96
97 // Used to implement [] notation on strings (calls JS code)
98 static Handle<Object> CharAt(Handle<String> str, uint32_t index);
99
100 static Handle<Object> GetFunctionFor(); 97 static Handle<Object> GetFunctionFor();
101 static Handle<String> GetStackTraceLine(Handle<Object> recv, 98 static Handle<String> GetStackTraceLine(Handle<Object> recv,
102 Handle<JSFunction> fun, 99 Handle<JSFunction> fun,
103 Handle<Object> pos, 100 Handle<Object> pos,
104 Handle<Object> is_global); 101 Handle<Object> is_global);
105 102
106 // Get a function delegate (or undefined) for the given non-function 103 // Get a function delegate (or undefined) for the given non-function
107 // object. Used for support calling objects as functions. 104 // object. Used for support calling objects as functions.
108 static Handle<Object> GetFunctionDelegate(Isolate* isolate, 105 static Handle<Object> GetFunctionDelegate(Isolate* isolate,
109 Handle<Object> object); 106 Handle<Object> object);
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 friend class Isolate; 283 friend class Isolate;
287 friend class StackLimitCheck; 284 friend class StackLimitCheck;
288 friend class PostponeInterruptsScope; 285 friend class PostponeInterruptsScope;
289 286
290 DISALLOW_COPY_AND_ASSIGN(StackGuard); 287 DISALLOW_COPY_AND_ASSIGN(StackGuard);
291 }; 288 };
292 289
293 } } // namespace v8::internal 290 } } // namespace v8::internal
294 291
295 #endif // V8_EXECUTION_H_ 292 #endif // V8_EXECUTION_H_
OLDNEW
« no previous file with comments | « no previous file | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698