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

Side by Side Diff: src/objects.h

Issue 1728193003: Revert of Encode interpreter::SourcePositionTable as variable-length ints. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/interpreter/source-position-table.cc ('k') | src/objects.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 4467 matching lines...) Expand 10 before | Expand all | Expand 10 after
4478 inline void set_parameter_count(int number_of_parameters); 4478 inline void set_parameter_count(int number_of_parameters);
4479 4479
4480 // Accessors for the constant pool. 4480 // Accessors for the constant pool.
4481 DECL_ACCESSORS(constant_pool, FixedArray) 4481 DECL_ACCESSORS(constant_pool, FixedArray)
4482 4482
4483 // Accessors for handler table containing offsets of exception handlers. 4483 // Accessors for handler table containing offsets of exception handlers.
4484 DECL_ACCESSORS(handler_table, FixedArray) 4484 DECL_ACCESSORS(handler_table, FixedArray)
4485 4485
4486 // Accessors for source position table containing mappings between byte code 4486 // Accessors for source position table containing mappings between byte code
4487 // offset and source position. 4487 // offset and source position.
4488 DECL_ACCESSORS(source_position_table, ByteArray) 4488 DECL_ACCESSORS(source_position_table, FixedArray)
4489 4489
4490 DECLARE_CAST(BytecodeArray) 4490 DECLARE_CAST(BytecodeArray)
4491 4491
4492 // Dispatched behavior. 4492 // Dispatched behavior.
4493 inline int BytecodeArraySize(); 4493 inline int BytecodeArraySize();
4494 4494
4495 inline int instruction_size(); 4495 inline int instruction_size();
4496 4496
4497 int SourcePosition(int offset); 4497 int SourcePosition(int offset);
4498 int SourceStatementPosition(int offset); 4498 int SourceStatementPosition(int offset);
(...skipping 6354 matching lines...) Expand 10 before | Expand all | Expand 10 after
10853 } 10853 }
10854 return value; 10854 return value;
10855 } 10855 }
10856 }; 10856 };
10857 10857
10858 10858
10859 } // NOLINT, false-positive due to second-order macros. 10859 } // NOLINT, false-positive due to second-order macros.
10860 } // NOLINT, false-positive due to second-order macros. 10860 } // NOLINT, false-positive due to second-order macros.
10861 10861
10862 #endif // V8_OBJECTS_H_ 10862 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/interpreter/source-position-table.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698