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

Side by Side Diff: src/hydrogen.cc

Issue 177313005: Remove duplicates in runtime macros. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/hydrogen.h ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 8381 matching lines...) Expand 10 before | Expand all | Expand 10 after
8392 8392
8393 // Lookup table for generators for runtime calls that are generated inline. 8393 // Lookup table for generators for runtime calls that are generated inline.
8394 // Elements of the table are member pointers to functions of 8394 // Elements of the table are member pointers to functions of
8395 // HOptimizedGraphBuilder. 8395 // HOptimizedGraphBuilder.
8396 #define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \ 8396 #define INLINE_FUNCTION_GENERATOR_ADDRESS(Name, argc, ressize) \
8397 &HOptimizedGraphBuilder::Generate##Name, 8397 &HOptimizedGraphBuilder::Generate##Name,
8398 8398
8399 const HOptimizedGraphBuilder::InlineFunctionGenerator 8399 const HOptimizedGraphBuilder::InlineFunctionGenerator
8400 HOptimizedGraphBuilder::kInlineFunctionGenerators[] = { 8400 HOptimizedGraphBuilder::kInlineFunctionGenerators[] = {
8401 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_ADDRESS) 8401 INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_ADDRESS)
8402 INLINE_RUNTIME_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_ADDRESS)
8403 }; 8402 };
8404 #undef INLINE_FUNCTION_GENERATOR_ADDRESS 8403 #undef INLINE_FUNCTION_GENERATOR_ADDRESS
8405 8404
8406 8405
8407 template <class ViewClass> 8406 template <class ViewClass>
8408 void HGraphBuilder::BuildArrayBufferViewInitialization( 8407 void HGraphBuilder::BuildArrayBufferViewInitialization(
8409 HValue* obj, 8408 HValue* obj,
8410 HValue* buffer, 8409 HValue* buffer,
8411 HValue* byte_offset, 8410 HValue* byte_offset,
8412 HValue* byte_length) { 8411 HValue* byte_length) {
(...skipping 2876 matching lines...) Expand 10 before | Expand all | Expand 10 after
11289 if (ShouldProduceTraceOutput()) { 11288 if (ShouldProduceTraceOutput()) {
11290 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 11289 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
11291 } 11290 }
11292 11291
11293 #ifdef DEBUG 11292 #ifdef DEBUG
11294 graph_->Verify(false); // No full verify. 11293 graph_->Verify(false); // No full verify.
11295 #endif 11294 #endif
11296 } 11295 }
11297 11296
11298 } } // namespace v8::internal 11297 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698