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

Side by Side Diff: src/parser.h

Issue 143633007: A64: Synchronize with r18764. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/objects-visiting-inl.h ('k') | src/parser.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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 // If a list of variable declarations includes any initializers. 444 // If a list of variable declarations includes any initializers.
445 enum VariableDeclarationProperties { 445 enum VariableDeclarationProperties {
446 kHasInitializers, 446 kHasInitializers,
447 kHasNoInitializers 447 kHasNoInitializers
448 }; 448 };
449 449
450 class BlockState; 450 class BlockState;
451 451
452 class FunctionState BASE_EMBEDDED { 452 class FunctionState BASE_EMBEDDED {
453 public: 453 public:
454 FunctionState(Parser* parser, 454 FunctionState(Parser* parser, Scope* scope);
455 Scope* scope,
456 Isolate* isolate);
457 ~FunctionState(); 455 ~FunctionState();
458 456
459 int NextMaterializedLiteralIndex() { 457 int NextMaterializedLiteralIndex() {
460 return next_materialized_literal_index_++; 458 return next_materialized_literal_index_++;
461 } 459 }
462 int materialized_literal_count() { 460 int materialized_literal_count() {
463 return next_materialized_literal_index_ - JSFunction::kLiteralsPrefixSize; 461 return next_materialized_literal_index_ - JSFunction::kLiteralsPrefixSize;
464 } 462 }
465 463
466 int NextHandlerIndex() { return next_handler_index_++; } 464 int NextHandlerIndex() { return next_handler_index_++; }
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 private: 813 private:
816 static const int kLiteralTypeSlot = 0; 814 static const int kLiteralTypeSlot = 0;
817 static const int kElementsSlot = 1; 815 static const int kElementsSlot = 1;
818 816
819 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); 817 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue);
820 }; 818 };
821 819
822 } } // namespace v8::internal 820 } } // namespace v8::internal
823 821
824 #endif // V8_PARSER_H_ 822 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « src/objects-visiting-inl.h ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698