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

Side by Side Diff: src/factory.h

Issue 328007: Stop throwing exceptions for out-of-range accesses to CanvasArrays.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/factory.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 Handle<String> message); 245 Handle<String> message);
246 246
247 static Handle<Object> NewTypeError(const char* type, 247 static Handle<Object> NewTypeError(const char* type,
248 Vector< Handle<Object> > args); 248 Vector< Handle<Object> > args);
249 static Handle<Object> NewTypeError(Handle<String> message); 249 static Handle<Object> NewTypeError(Handle<String> message);
250 250
251 static Handle<Object> NewRangeError(const char* type, 251 static Handle<Object> NewRangeError(const char* type,
252 Vector< Handle<Object> > args); 252 Vector< Handle<Object> > args);
253 static Handle<Object> NewRangeError(Handle<String> message); 253 static Handle<Object> NewRangeError(Handle<String> message);
254 254
255 static Handle<Object> NewIndexError(uint32_t index);
256
257 static Handle<Object> NewSyntaxError(const char* type, Handle<JSArray> args); 255 static Handle<Object> NewSyntaxError(const char* type, Handle<JSArray> args);
258 static Handle<Object> NewSyntaxError(Handle<String> message); 256 static Handle<Object> NewSyntaxError(Handle<String> message);
259 257
260 static Handle<Object> NewReferenceError(const char* type, 258 static Handle<Object> NewReferenceError(const char* type,
261 Vector< Handle<Object> > args); 259 Vector< Handle<Object> > args);
262 static Handle<Object> NewReferenceError(Handle<String> message); 260 static Handle<Object> NewReferenceError(Handle<String> message);
263 261
264 static Handle<Object> NewEvalError(const char* type, 262 static Handle<Object> NewEvalError(const char* type,
265 Vector< Handle<Object> > args); 263 Vector< Handle<Object> > args);
266 264
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 // Update the map cache in the global context with (keys, map) 383 // Update the map cache in the global context with (keys, map)
386 static Handle<MapCache> AddToMapCache(Handle<Context> context, 384 static Handle<MapCache> AddToMapCache(Handle<Context> context,
387 Handle<FixedArray> keys, 385 Handle<FixedArray> keys,
388 Handle<Map> map); 386 Handle<Map> map);
389 }; 387 };
390 388
391 389
392 } } // namespace v8::internal 390 } } // namespace v8::internal
393 391
394 #endif // V8_FACTORY_H_ 392 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698