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

Side by Side Diff: src/arm/lithium-arm.h

Issue 5699002: RFC: Switch to ast ids (instead of positions) for type feedback. (Closed)
Patch Set: Cleanup Created 10 years 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 : chunk_(NULL), 1932 : chunk_(NULL),
1933 graph_(graph), 1933 graph_(graph),
1934 status_(UNUSED), 1934 status_(UNUSED),
1935 current_instruction_(NULL), 1935 current_instruction_(NULL),
1936 current_block_(NULL), 1936 current_block_(NULL),
1937 next_block_(NULL), 1937 next_block_(NULL),
1938 argument_count_(0), 1938 argument_count_(0),
1939 allocator_(allocator), 1939 allocator_(allocator),
1940 position_(RelocInfo::kNoPosition), 1940 position_(RelocInfo::kNoPosition),
1941 instructions_pending_deoptimization_environment_(NULL), 1941 instructions_pending_deoptimization_environment_(NULL),
1942 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } 1942 pending_deoptimization_ast_id_(kNoAstId) { }
1943 1943
1944 // Build the sequence for the graph. 1944 // Build the sequence for the graph.
1945 LChunk* Build(); 1945 LChunk* Build();
1946 1946
1947 // Declare methods that deal with the individual node types. 1947 // Declare methods that deal with the individual node types.
1948 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); 1948 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node);
1949 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 1949 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
1950 #undef DECLARE_DO 1950 #undef DECLARE_DO
1951 1951
1952 private: 1952 private:
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2058 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2059 }; 2059 };
2060 2060
2061 #undef DECLARE_HYDROGEN_ACCESSOR 2061 #undef DECLARE_HYDROGEN_ACCESSOR
2062 #undef DECLARE_INSTRUCTION 2062 #undef DECLARE_INSTRUCTION
2063 #undef DECLARE_CONCRETE_INSTRUCTION 2063 #undef DECLARE_CONCRETE_INSTRUCTION
2064 2064
2065 } } // namespace v8::internal 2065 } } // namespace v8::internal
2066 2066
2067 #endif // V8_ARM_LITHIUM_ARM_H_ 2067 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/accessors.cc ('k') | src/arm/lithium-arm.cc » ('j') | src/assembler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698