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

Side by Side Diff: src/execution.h

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 | « src/contexts.h ('k') | 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 Isolate* isolate, Handle<Object> obj); 62 Isolate* isolate, Handle<Object> obj);
63 63
64 // ECMA-262 9.5 64 // ECMA-262 9.5
65 MUST_USE_RESULT static MaybeHandle<Object> ToInt32( 65 MUST_USE_RESULT static MaybeHandle<Object> ToInt32(
66 Isolate* isolate, Handle<Object> obj); 66 Isolate* isolate, Handle<Object> obj);
67 67
68 // ECMA-262 9.6 68 // ECMA-262 9.6
69 MUST_USE_RESULT static MaybeHandle<Object> ToUint32( 69 MUST_USE_RESULT static MaybeHandle<Object> ToUint32(
70 Isolate* isolate, Handle<Object> obj); 70 Isolate* isolate, Handle<Object> obj);
71 71
72
73 // ES6, draft 10-14-14, section 7.1.15
74 MUST_USE_RESULT static MaybeHandle<Object> ToLength(
75 Isolate* isolate, Handle<Object> obj);
76
72 // ECMA-262 9.8 77 // ECMA-262 9.8
73 MUST_USE_RESULT static MaybeHandle<Object> ToString( 78 MUST_USE_RESULT static MaybeHandle<Object> ToString(
74 Isolate* isolate, Handle<Object> obj); 79 Isolate* isolate, Handle<Object> obj);
75 80
76 // ECMA-262 9.8 81 // ECMA-262 9.8
77 MUST_USE_RESULT static MaybeHandle<Object> ToDetailString( 82 MUST_USE_RESULT static MaybeHandle<Object> ToDetailString(
78 Isolate* isolate, Handle<Object> obj); 83 Isolate* isolate, Handle<Object> obj);
79 84
80 // ECMA-262 9.9 85 // ECMA-262 9.9
81 MUST_USE_RESULT static MaybeHandle<Object> ToObject( 86 MUST_USE_RESULT static MaybeHandle<Object> ToObject(
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 friend class Isolate; 274 friend class Isolate;
270 friend class StackLimitCheck; 275 friend class StackLimitCheck;
271 friend class PostponeInterruptsScope; 276 friend class PostponeInterruptsScope;
272 277
273 DISALLOW_COPY_AND_ASSIGN(StackGuard); 278 DISALLOW_COPY_AND_ASSIGN(StackGuard);
274 }; 279 };
275 280
276 } } // namespace v8::internal 281 } } // namespace v8::internal
277 282
278 #endif // V8_EXECUTION_H_ 283 #endif // V8_EXECUTION_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698