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

Side by Side Diff: src/factory.h

Issue 1130073005: Revert of Migrate error messages, part 10. (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 | « src/elements.cc ('k') | 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 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_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/isolate.h" 8 #include "src/isolate.h"
9 #include "src/messages.h" 9 #include "src/messages.h"
10 10
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 Handle<Object> NewError(const char* maker, const char* message, 540 Handle<Object> NewError(const char* maker, const char* message,
541 Handle<JSArray> args); 541 Handle<JSArray> args);
542 Handle<String> EmergencyNewError(const char* message, Handle<JSArray> args); 542 Handle<String> EmergencyNewError(const char* message, Handle<JSArray> args);
543 Handle<Object> NewError(const char* maker, const char* message, 543 Handle<Object> NewError(const char* maker, const char* message,
544 Vector<Handle<Object> > args); 544 Vector<Handle<Object> > args);
545 Handle<Object> NewError(const char* message, Vector<Handle<Object> > args); 545 Handle<Object> NewError(const char* message, Vector<Handle<Object> > args);
546 546
547 Handle<Object> NewError(Handle<String> message); 547 Handle<Object> NewError(Handle<String> message);
548 Handle<Object> NewError(const char* constructor, Handle<String> message); 548 Handle<Object> NewError(const char* constructor, Handle<String> message);
549 549
550 Handle<Object> NewTypeError(const char* message,
551 Vector<Handle<Object> > args);
550 Handle<Object> NewTypeError(Handle<String> message); 552 Handle<Object> NewTypeError(Handle<String> message);
551 553
554 Handle<Object> NewRangeError(const char* message,
555 Vector<Handle<Object> > args);
552 Handle<Object> NewRangeError(Handle<String> message); 556 Handle<Object> NewRangeError(Handle<String> message);
553 557
554 Handle<Object> NewInvalidStringLengthError() { 558 Handle<Object> NewInvalidStringLengthError() {
555 return NewRangeError(MessageTemplate::kInvalidStringLength); 559 return NewRangeError(MessageTemplate::kInvalidStringLength);
556 } 560 }
557 561
558 Handle<Object> NewSyntaxError(const char* message, Handle<JSArray> args); 562 Handle<Object> NewSyntaxError(const char* message, Handle<JSArray> args);
559 Handle<Object> NewSyntaxError(Handle<String> message); 563 Handle<Object> NewSyntaxError(Handle<String> message);
560 564
561 Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args); 565 Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args);
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 // Reinitialize a JSProxy into an (empty) JS object of respective type and 754 // Reinitialize a JSProxy into an (empty) JS object of respective type and
751 // size, but keeping the original prototype. The receiver must have at least 755 // size, but keeping the original prototype. The receiver must have at least
752 // the size of the new object. The object is reinitialized and behaves as an 756 // the size of the new object. The object is reinitialized and behaves as an
753 // object that has been freshly allocated. 757 // object that has been freshly allocated.
754 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 758 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
755 }; 759 };
756 760
757 } } // namespace v8::internal 761 } } // namespace v8::internal
758 762
759 #endif // V8_FACTORY_H_ 763 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698