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

Side by Side Diff: src/messages.js

Issue 527963002: Implement loads and calls from 'super' (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased before landing Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/runtime.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 // ------------------------------------------------------------------- 5 // -------------------------------------------------------------------
6 6
7 var kMessages = { 7 var kMessages = {
8 // Error 8 // Error
9 cyclic_proto: ["Cyclic __proto__ value"], 9 cyclic_proto: ["Cyclic __proto__ value"],
10 code_gen_from_strings: ["%0"], 10 code_gen_from_strings: ["%0"],
(...skipping 20 matching lines...) Expand all
31 no_catch_or_finally: ["Missing catch or finally after try"], 31 no_catch_or_finally: ["Missing catch or finally after try"],
32 unknown_label: ["Undefined label '", "%0", "'"], 32 unknown_label: ["Undefined label '", "%0", "'"],
33 uncaught_exception: ["Uncaught ", "%0"], 33 uncaught_exception: ["Uncaught ", "%0"],
34 stack_trace: ["Stack Trace:\n", "%0"], 34 stack_trace: ["Stack Trace:\n", "%0"],
35 called_non_callable: ["%0", " is not a function"], 35 called_non_callable: ["%0", " is not a function"],
36 undefined_method: ["Object ", "%1", " has no method '", "%0", "'" ], 36 undefined_method: ["Object ", "%1", " has no method '", "%0", "'" ],
37 property_not_function: ["Property '", "%0", "' of object ", "%1", " is not a function"], 37 property_not_function: ["Property '", "%0", "' of object ", "%1", " is not a function"],
38 cannot_convert_to_primitive: ["Cannot convert object to primitive value"], 38 cannot_convert_to_primitive: ["Cannot convert object to primitive value"],
39 not_constructor: ["%0", " is not a constructor"], 39 not_constructor: ["%0", " is not a constructor"],
40 not_defined: ["%0", " is not defined"], 40 not_defined: ["%0", " is not defined"],
41 non_method: ["'super' is referenced from non-method"],
42 unsupported_super: ["Unsupported reference to 'super'"],
41 non_object_property_load: ["Cannot read property '", "%0", "' of ", "%1"] , 43 non_object_property_load: ["Cannot read property '", "%0", "' of ", "%1"] ,
42 non_object_property_store: ["Cannot set property '", "%0", "' of ", "%1"], 44 non_object_property_store: ["Cannot set property '", "%0", "' of ", "%1"],
43 with_expression: ["%0", " has no properties"], 45 with_expression: ["%0", " has no properties"],
44 illegal_invocation: ["Illegal invocation"], 46 illegal_invocation: ["Illegal invocation"],
45 no_setter_in_callback: ["Cannot set property ", "%0", " of ", "%1", " which has only a getter"], 47 no_setter_in_callback: ["Cannot set property ", "%0", " of ", "%1", " which has only a getter"],
46 apply_non_function: ["Function.prototype.apply was called on ", "%0 ", ", which is a ", "%1", " and not a function"], 48 apply_non_function: ["Function.prototype.apply was called on ", "%0 ", ", which is a ", "%1", " and not a function"],
47 apply_wrong_args: ["Function.prototype.apply: Arguments list has wrong type"], 49 apply_wrong_args: ["Function.prototype.apply: Arguments list has wrong type"],
48 toMethod_non_function: ["Function.prototype.toMethod was called on ", "%0", ", which is a ", "%1", " and not a function"], 50 toMethod_non_function: ["Function.prototype.toMethod was called on ", "%0", ", which is a ", "%1", " and not a function"],
49 toMethod_non_object: ["Function.prototype.toMethod: home object ", " %0", " is not an object"], 51 toMethod_non_object: ["Function.prototype.toMethod: home object ", " %0", " is not an object"],
50 invalid_in_operator_use: ["Cannot use 'in' operator to search for '", "% 0", "' in ", "%1"], 52 invalid_in_operator_use: ["Cannot use 'in' operator to search for '", "% 0", "' in ", "%1"],
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1289 function SetUpStackOverflowBoilerplate() { 1291 function SetUpStackOverflowBoilerplate() {
1290 var boilerplate = MakeRangeError('stack_overflow', []); 1292 var boilerplate = MakeRangeError('stack_overflow', []);
1291 1293
1292 %DefineAccessorPropertyUnchecked( 1294 %DefineAccessorPropertyUnchecked(
1293 boilerplate, 'stack', StackTraceGetter, StackTraceSetter, DONT_ENUM); 1295 boilerplate, 'stack', StackTraceGetter, StackTraceSetter, DONT_ENUM);
1294 1296
1295 return boilerplate; 1297 return boilerplate;
1296 } 1298 }
1297 1299
1298 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); 1300 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate();
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698