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

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

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 nits and rebase on current bleeding_edge 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
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.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 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 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 ASSERT(ast_id != AstNode::kNoNumber || 978 ASSERT(ast_id != AstNode::kNoNumber ||
979 hydrogen_env->frame_type() != JS_FUNCTION); 979 hydrogen_env->frame_type() != JS_FUNCTION);
980 int value_count = hydrogen_env->length(); 980 int value_count = hydrogen_env->length();
981 LEnvironment* result = new(zone()) LEnvironment( 981 LEnvironment* result = new(zone()) LEnvironment(
982 hydrogen_env->closure(), 982 hydrogen_env->closure(),
983 hydrogen_env->frame_type(), 983 hydrogen_env->frame_type(),
984 ast_id, 984 ast_id,
985 hydrogen_env->parameter_count(), 985 hydrogen_env->parameter_count(),
986 argument_count_, 986 argument_count_,
987 value_count, 987 value_count,
988 outer); 988 outer,
989 zone());
989 int argument_index = *argument_index_accumulator; 990 int argument_index = *argument_index_accumulator;
990 for (int i = 0; i < value_count; ++i) { 991 for (int i = 0; i < value_count; ++i) {
991 if (hydrogen_env->is_special_index(i)) continue; 992 if (hydrogen_env->is_special_index(i)) continue;
992 993
993 HValue* value = hydrogen_env->values()->at(i); 994 HValue* value = hydrogen_env->values()->at(i);
994 LOperand* op = NULL; 995 LOperand* op = NULL;
995 if (value->IsArgumentsObject()) { 996 if (value->IsArgumentsObject()) {
996 op = NULL; 997 op = NULL;
997 } else if (value->IsPushArgument()) { 998 } else if (value->IsPushArgument()) {
998 op = new(zone()) LArgument(argument_index++); 999 op = new(zone()) LArgument(argument_index++);
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after
2390 2391
2391 2392
2392 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2393 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2393 LOperand* object = UseRegister(instr->object()); 2394 LOperand* object = UseRegister(instr->object());
2394 LOperand* index = UseRegister(instr->index()); 2395 LOperand* index = UseRegister(instr->index());
2395 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2396 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2396 } 2397 }
2397 2398
2398 2399
2399 } } // namespace v8::internal 2400 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698