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

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

Issue 10443114: Progress towards making Zones independent of Isolates and Threads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix build on ia32. Created 8 years, 6 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
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 2351 matching lines...) Expand 10 before | Expand all | Expand 10 after
2362 CompilationInfo* info_; 2362 CompilationInfo* info_;
2363 HGraph* const graph_; 2363 HGraph* const graph_;
2364 ZoneList<LInstruction*> instructions_; 2364 ZoneList<LInstruction*> instructions_;
2365 ZoneList<LPointerMap*> pointer_maps_; 2365 ZoneList<LPointerMap*> pointer_maps_;
2366 ZoneList<Handle<JSFunction> > inlined_closures_; 2366 ZoneList<Handle<JSFunction> > inlined_closures_;
2367 }; 2367 };
2368 2368
2369 2369
2370 class LChunkBuilder BASE_EMBEDDED { 2370 class LChunkBuilder BASE_EMBEDDED {
2371 public: 2371 public:
2372 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2372 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator,
2373 Zone* zone)
2373 : chunk_(NULL), 2374 : chunk_(NULL),
2374 info_(info), 2375 info_(info),
2375 graph_(graph), 2376 graph_(graph),
2376 zone_(graph->isolate()->zone()), 2377 zone_(zone),
danno 2012/06/01 11:29:24 You should explicitly store the zone in the graph
2377 status_(UNUSED), 2378 status_(UNUSED),
2378 current_instruction_(NULL), 2379 current_instruction_(NULL),
2379 current_block_(NULL), 2380 current_block_(NULL),
2380 next_block_(NULL), 2381 next_block_(NULL),
2381 argument_count_(0), 2382 argument_count_(0),
2382 allocator_(allocator), 2383 allocator_(allocator),
2383 position_(RelocInfo::kNoPosition), 2384 position_(RelocInfo::kNoPosition),
2384 instruction_pending_deoptimization_environment_(NULL), 2385 instruction_pending_deoptimization_environment_(NULL),
2385 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } 2386 pending_deoptimization_ast_id_(AstNode::kNoNumber) { }
2386 2387
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
2520 2521
2521 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2522 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2522 }; 2523 };
2523 2524
2524 #undef DECLARE_HYDROGEN_ACCESSOR 2525 #undef DECLARE_HYDROGEN_ACCESSOR
2525 #undef DECLARE_CONCRETE_INSTRUCTION 2526 #undef DECLARE_CONCRETE_INSTRUCTION
2526 2527
2527 } } // namespace v8::internal 2528 } } // namespace v8::internal
2528 2529
2529 #endif // V8_IA32_LITHIUM_IA32_H_ 2530 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698