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

Side by Side Diff: src/heap.h

Issue 200473003: Make invalid LHSs a parse-time (reference) error (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comment Created 6 years, 9 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/factory.cc ('k') | src/ia32/full-codegen-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 V(set_string, "set") \ 326 V(set_string, "set") \
327 V(map_field_string, "%map") \ 327 V(map_field_string, "%map") \
328 V(elements_field_string, "%elements") \ 328 V(elements_field_string, "%elements") \
329 V(length_field_string, "%length") \ 329 V(length_field_string, "%length") \
330 V(cell_value_string, "%cell_value") \ 330 V(cell_value_string, "%cell_value") \
331 V(function_class_string, "Function") \ 331 V(function_class_string, "Function") \
332 V(illegal_argument_string, "illegal argument") \ 332 V(illegal_argument_string, "illegal argument") \
333 V(MakeReferenceError_string, "MakeReferenceError") \ 333 V(MakeReferenceError_string, "MakeReferenceError") \
334 V(MakeSyntaxError_string, "MakeSyntaxError") \ 334 V(MakeSyntaxError_string, "MakeSyntaxError") \
335 V(MakeTypeError_string, "MakeTypeError") \ 335 V(MakeTypeError_string, "MakeTypeError") \
336 V(invalid_lhs_in_assignment_string, "invalid_lhs_in_assignment") \
337 V(invalid_lhs_in_for_in_string, "invalid_lhs_in_for_in") \
338 V(invalid_lhs_in_postfix_op_string, "invalid_lhs_in_postfix_op") \
339 V(invalid_lhs_in_prefix_op_string, "invalid_lhs_in_prefix_op") \
340 V(illegal_return_string, "illegal_return") \ 336 V(illegal_return_string, "illegal_return") \
341 V(illegal_break_string, "illegal_break") \ 337 V(illegal_break_string, "illegal_break") \
342 V(illegal_continue_string, "illegal_continue") \ 338 V(illegal_continue_string, "illegal_continue") \
343 V(unknown_label_string, "unknown_label") \ 339 V(unknown_label_string, "unknown_label") \
344 V(redeclaration_string, "redeclaration") \ 340 V(redeclaration_string, "redeclaration") \
345 V(space_string, " ") \ 341 V(space_string, " ") \
346 V(exec_string, "exec") \ 342 V(exec_string, "exec") \
347 V(zero_string, "0") \ 343 V(zero_string, "0") \
348 V(global_eval_string, "GlobalEval") \ 344 V(global_eval_string, "GlobalEval") \
349 V(identity_hash_string, "v8::IdentityHash") \ 345 V(identity_hash_string, "v8::IdentityHash") \
(...skipping 2774 matching lines...) Expand 10 before | Expand all | Expand 10 after
3124 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 3120 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
3125 3121
3126 private: 3122 private:
3127 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 3123 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
3128 }; 3124 };
3129 #endif // DEBUG 3125 #endif // DEBUG
3130 3126
3131 } } // namespace v8::internal 3127 } } // namespace v8::internal
3132 3128
3133 #endif // V8_HEAP_H_ 3129 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698